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