Esempio n. 1
0
 void OnTriggerEnter(Collider other)
 {
     _destroyedPlatformsQuantity++;
     if (_destroyedPlatformsQuantity == _destroyedPlatformsLimit)
     {
         _destroyedPlatformsQuantity = 0;
         _platformManager.BuildPlatforms();
     }
 }