private void SetRefrences() { characterStats = this.GetComponent <Character_Stats>(); characterMove = this.GetComponent <PAC_Movement_Controller>(); }
public void SetAttackTarget(GameObject gameObj) { attackTarget = gameObj; enemyStats = gameObj.GetComponent <Character_Stats>(); }
private void SetRefrences() { rb = this.GetComponent <Rigidbody>(); characterStats = this.GetComponent <Character_Stats>(); }