void initiate() { gameManagerMasterScript = GetComponent <GameManager_Master>(); if (toggleInventoryButton == "") { Debug.LogWarning("Provide ToggleInventoryButton name first"); this.enabled = false; } }
void initiate() { gameManagerMasterScript = GetComponent <GameManager_Master>(); }
void initiate() { gameManagerMasterScript = GameObject.Find("GameManager").GetComponent <GameManager_Master>(); }
void initiate() { isCursorEnabled = false; gameManagerMasterScript = GetComponent <GameManager_Master>(); }
void Start() { gameManagerMaster.isMenuUI = false; gameManagerMaster = GetComponent <GameManager_Master>(); }
void initiate() { isPaused = true; gameManagerMaster = GetComponent <GameManager_Master>(); }
private void Start() { myScript = GetComponent <GameManager_Master>(); }