ResearchDisorderGame/game/GuiManager/Misc/removeAllChildren.int
Ryan Ward 1b8f63563f The basic stuff is there
Engine and sample code have been added
2018-02-13 13:42:14 -05:00

6 lines
97 B
Plaintext

function gui:destroyAllChildren()
local c=self.Children
for i=1,#c do
c[i]:Destroy()
end
end