private void Start() { //gameCon = GameObject.Find("Game Controller").GetComponent<GameController>(); gameCon = gameObject.GetComponent <GameController>(); healthStateManager = gameObject.GetComponent <HealthStateManager>(); }
private void Start() { gameCon = gameObject.GetComponent <GameController>(); healthStateManager = gameObject.GetComponent <HealthStateManager>(); }