Esempio n. 1
0
 void Start()
 {
     energySystem = this.GetComponent <EnergySystem>();
     actions      = this.GetComponent <PlayerActions>();
     animations   = this.GetComponent <PlayerAnimations>();
     spells       = this.GetComponent <PlayerSpells>();
     spellsSystem = this.GetComponent <SpellsSystem>();
 }
Esempio n. 2
0
    void Start()
    {
        energySystem = this.GetComponent <EnergySystem>();
        actions      = this.GetComponent <PlayerActions>();
        animations   = this.GetComponent <PlayerAnimations>();
        spells       = this.GetComponent <PlayerSpells>();
        spellsSystem = this.GetComponent <SpellsSystem>();

        //InitializeSkill();
        //InitSpellsSystem();
        //spells.SetSpells(HandType.Left, spellsSystem.spellsList[0]);
        //spells.SetSpells(HandType.Right, spellsSystem.spellsList[1]);
    }
Esempio n. 3
0
 void Awake()
 {
     instance = this;
 }