Exemple #1
0
 void Lost()
 {
     LostEvent?.Invoke(this);
     Destroy(gameObject);
 }
Exemple #2
0
 void BallLost()
 {
     LostEvent?.Invoke(this);
     SimplePool.Despawn(gameObject);
 }