Refonte pour utiliser le systeme de GUI #112
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ function GuiElement:newSwitch(start, bools)
|
||||||
self.tweens:newSwitch(start, bools)
|
self.tweens:newSwitch(start, bools)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function GuiElement:newFunc(start, func)
|
||||||
|
self.tweens:newFunc(start, func)
|
||||||
|
end
|
||||||
|
|
||||||
function GuiElement:delayFocus(start)
|
function GuiElement:delayFocus(start)
|
||||||
self.tweens:newFunc(start, "focus", function ()
|
self.tweens:newFunc(start, "focus", function ()
|
||||||
self:getFocus()
|
self:getFocus()
|
||||||
|
|
Loading…
Reference in a new issue