private void GetAccessToComponents() { reddishCatHealthController = GetComponent <ReddishCatHealthController>(); reddishMinionAnimationController = GetComponentInChildren <ReddishCatAnimationController>(); myRigidbody = GetComponent <Rigidbody2D>(); gameMaster = GameMaster.instance; }
private void GetAccessToComponents() { myRigidbody = GetComponent <Rigidbody2D>(); myCollider = GetComponent <Collider2D>(); reddishCatAnimationController = GetComponentInChildren <ReddishCatAnimationController>(); reddishCatHealthController = GetComponent <ReddishCatHealthController>(); reddishCatCombatController = GetComponent <ReddishCatCombatController>(); }