Beispiel #1
0
 void Bullet.IGameRule.OnDestroy(Bullet bullet)
 {
     if (gunSlingerGameRule != null)
     {
         gunSlingerGameRule.UnSubscribeDeath(this);
     }
 }
Beispiel #2
0
 void Gun.IGameRule.OnDestroy(Gun gun)
 {
     if (gunSlingerGameRule != null)
     {
         gunSlingerGameRule.UnSubscribeDeath(this);
     }
 }