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