Esempio n. 1
0
 void Start()
 {
     spellCaster = GetComponent <SpellCaster>();
     spellCaster.OnStartCast.AddListener(BlockParticleSystem);
     spellCaster.OnEndCast.AddListener(ResumeParticleSystem);
 }
 private void Start()
 {
     spellCaster = GetComponent <SpellCaster>();
     StartCoroutine(CastAtTime(castTime));
 }
 void Start()
 {
     anim        = GetComponent <Animator>();
     spellCaster = GetComponent <SpellCaster>();
     spellCaster.OnStartCast.AddListener(AnimateSkill);
 }
Esempio n. 4
0
 void Start()
 {
     agent       = GetComponent <NavMeshAgent>();
     spellCaster = GetComponent <SpellCaster>();
 }
Esempio n. 5
0
 private void Start()
 {
     joystick    = spellStickContainer.GetComponent <Joystick>();
     spellCaster = GetComponent <SpellCaster>();
 }