Exemple #1
0
 public override void Exit()
 {
     ObjectObj.SetActive(false);
     BulletObj.SetActive(false);
     HitObj.SetActive(false);
     base.Exit();
 }
Exemple #2
0
 protected override void OnAtk()
 {
     base.OnAtk();
     //TODO  eff关闭后再推出
     HitObj.transform.position = BulletObj.transform.position;
     if (IsHit == false)
     {
         Exit();
     }
     IsHit = true;
     if (ObjectObj != null)
     {
         ObjectObj.transform.position = target.GetPoint;
         ObjectObj.SetActive(true);
     }
 }