feat: add func support to guiElements
This commit is contained in:
parent
6c55a070fe
commit
023e0185ef
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ function GuiElement:newSwitch(start, bools)
|
|||
self.tweens:newSwitch(start, bools)
|
||||
end
|
||||
|
||||
function GuiElement:newFunc(start, func)
|
||||
self.tweens:newFunc(start, func)
|
||||
end
|
||||
|
||||
function GuiElement:delayFocus(start)
|
||||
self.tweens:newFunc(start, "focus", function ()
|
||||
self:getFocus()
|
||||
|
|
Loading…
Reference in a new issue