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