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