Exemplo n.º 1
0
        private IEnumerator AnimationUpdate(Vector3 targetPos)
        {
            this.triggeCollider.enabled = false;
            yield return(StartCoroutine(SkillUtility.Parabola(this.transform, targetPos, 70)));

            this.triggeCollider.enabled = true;
        }
Exemplo n.º 2
0
 public void PlayAnimation(Vector3 targetPos)
 {
     StartCoroutine(SkillUtility.Parabola(this.transform, targetPos));
 }