void Awake() { CurrentPlayerHealth = StartingPlayerHealth; anim = GetComponent<Animator>(); controller = GetComponent<TP_Controller>(); Instance = this; }
void Awake() { player = GameObject.Find("TP_Character"); playerHealth = player.GetComponent <TP_Health> (); enemyHealth = GetComponent<EnemyHealth>(); anim = GetComponent <Animator>(); }
void Awake() { player = GameObject.Find("TP_Character"); playerHealth = player.GetComponent<TP_Health>(); }