Title basically explains it. I’m making a panel based off DPanel. How can I code a close function into it? I’m not sure what DFrame does. =\
Edit:
[lua]function PANEL:Close()
self:SetVisible(false)
self = nil
end[/lua]
That works, but I’m not sure that it’s actually the right thing to do. I don’t want to cause any unneeded lag. If it’s just hiding it. shrug