Update Manager to Modern V2
This commit is contained in:
parent
0c0b71d20a
commit
c4e9020157
1 changed files with 5 additions and 1 deletions
|
@ -33,6 +33,10 @@ function manager:OpenWindow(window: types.Window)
|
|||
self.Events.WindowOpened:Fire(window, true)
|
||||
end
|
||||
|
||||
function manager:OpenWindowByName(name: string)
|
||||
self:OpenWindow(self:GetWindow(name))
|
||||
end
|
||||
|
||||
function manager:CloseWindow(window: types.Window)
|
||||
window:Close()
|
||||
window:Remove()
|
||||
|
|
Loading…
Reference in a new issue