void Start() { energySystem = this.GetComponent <EnergySystem>(); actions = this.GetComponent <PlayerActions>(); animations = this.GetComponent <PlayerAnimations>(); spells = this.GetComponent <PlayerSpells>(); spellsSystem = this.GetComponent <SpellsSystem>(); }
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]); }
void Awake() { instance = this; }