private void Start() { _isPanelSwitchItemShown = false; PanelSwitchItem.SetActive(false); _itemController = GameObject.Find("GameManager").GetComponent <Test2_ItemsController>(); _inputManager = GameObject.Find("GameManager").GetComponent <Test2_InputManager>(); }
private void Start() { _isDebugDisplayed = false; _gameManager = GameObject.Find("GameManager").GetComponent <Test2_GameManager>(); _inputManager = GameObject.Find("GameManager").GetComponent <Test2_InputManager>(); _itemsController = GameObject.Find("GameManager").GetComponent <Test2_ItemsController>(); createHeatsOnScreen(); }
private void Start() { _itemController = GameObject.Find("GameManager").GetComponent <Test2_ItemsController>(); _menuController = PanelMenu.GetComponent <Test2_MenuController>(); _inputManager = GameObject.Find("GameManager").GetComponent <Test2_InputManager>(); }