private void InitializeMainGameMenuContainer() { mainGameMenuCanvas = GetComponentInChildren <MainGameMenuCanvas>(true); continueGameButton = GetComponentInChildren <ContinueGameButton>(true); settingsButton = GetComponentInChildren <SettingsButton>(true); leaveRoomButton = GetComponentInChildren <LeaveRoomButton>(true); }
private void Start() { mainGameMenuCanvas = GameUI.Instance.mainGameMenuContainer.mainGameMenuCanvas; }
private void Start() { _mainGameMenuCanvas = GameUI.Instance.mainGameMenuContainer.mainGameMenuCanvas; HideUIOnStart(); }