git-subtree-dir: multi git-subtree-mainline: 14f186d8e1f36b38f6816dfa4d004dd023b882ce git-subtree-split: 285fa7e933d1986bcbd354294c05cee40ef43cea
14 lines
227 B
Plaintext
14 lines
227 B
Plaintext
function gui:setVisiblity(val)
|
|
self.Visible=val
|
|
self.oV=val
|
|
doto=self:GetAllChildren()
|
|
if val==false then
|
|
for i=1,#doto do
|
|
doto[i].Visible=val
|
|
end
|
|
else
|
|
for i=1,#doto do
|
|
doto[i].Visible=doto[i].oV
|
|
end
|
|
end
|
|
end |