void Start() { //bBehaviour = GameObject.Find("Bow").GetComponent<BowBehaviour>(); headShotSpell = GameObject.Find("HeadShot").GetComponent <HeadShot>(); darkenTheSkiesSpell = GameObject.Find("DarkenTheSkies").GetComponent <DarkenTheSkies>(); pStats = GameObject.Find("Archer").GetComponent <PlayerStats>(); // pSkillMap = GameObject.Find("Archer").GetComponent<PlayerSkillMap>(); isActive = ActiveAttack.None; spell1CDTimer = 0.0f; spell2CDTimer = 0.0f; }
void Awake() { head = GetComponentInChildren<HeadShot>(); }