Example #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);
 }
Example #4
0
 void Start()
 {
     agent       = GetComponent <NavMeshAgent>();
     spellCaster = GetComponent <SpellCaster>();
 }
Example #5
0
 private void Start()
 {
     joystick    = spellStickContainer.GetComponent <Joystick>();
     spellCaster = GetComponent <SpellCaster>();
 }