public void DestroyWithScore() { if (Health > 0) { return; } if (CollisionHealth > 0) { CollisionHealth--; } if (CollisionHealth > 0) { return; } OnDestroyWithScore.Invoke(); DestroyWithoutScore(); }
public void DestroyWithScore() { OnDestroyWithScore.Invoke(); DestroyWithoutScore(); }