public override void doFire(CLUnit attacker, CLUnit target, Vector3 orgPos, Vector3 dir, object attr, object data, object callbak) { lightningBolt.EndObject = target.gameObject; lightningBall.target = target.transform; lightningBall.LateUpdate(); base.doFire(attacker, target, orgPos, dir, attr, data, callbak); gameObject.SetActive(true); onFinishFire(false); Invoke("stop", 0.4f); }
public override void onRelaseTarget(CLUnit attacker) { throw new System.NotImplementedException(); }
public override void onHurtFinish(object skillAttr, CLUnit attacker) { throw new System.NotImplementedException(); }
public override bool onHurt(int hurt, object skillAttr, CLUnit attacker) { throw new System.NotImplementedException(); }