Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
 void Awake()
 {
     head = GetComponentInChildren<HeadShot>();
 }