示例#1
0
 public void DestroyWithScore()
 {
     if (Health > 0)
     {
         return;
     }
     if (CollisionHealth > 0)
     {
         CollisionHealth--;
     }
     if (CollisionHealth > 0)
     {
         return;
     }
     OnDestroyWithScore.Invoke();
     DestroyWithoutScore();
 }
示例#2
0
 public void DestroyWithScore()
 {
     OnDestroyWithScore.Invoke();
     DestroyWithoutScore();
 }