예제 #1
0
 protected override void Start_Skill()
 {
     base.Start_Skill();
     if (bulletFly != null)
     {
         bulletFly.Play(unit.FirePoint.position, target, OnAtk);
     }
     else
     {
         OnAtk();
     }
 }
예제 #2
0
 public void Play(Vector3 point, HexCell target, Action hit)
 {
     this.HitEvent = hit;
     hitObject.SetActive(false);
     fly.Play(point, target, OnHit);
 }