mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 14:00:17 +00:00
enable/disable canvas on Start()
This commit is contained in:
parent
23cbd6163d
commit
f54a8fe60d
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ namespace SanAndreasUnity.UI {
|
|||
clickAction = () => GameManager.ExitApplication (),
|
||||
});
|
||||
|
||||
this.canvas.enabled = IsOpened;
|
||||
|
||||
}
|
||||
|
||||
public static PauseMenuWindow[] GetAllWindows() {
|
||||
|
|
Loading…
Reference in a new issue