void FixedUpdate() { if (cubeInGame)//Если куб в игре (а не в меню) { if (platformList.Count() >= 10) { DeletePlatform(); } if (platformList.Count() < 10) { platformGenerator.GeneratePlatform(); } } }
void FixedUpdate() { if (cubeInGame)//Если куб в игре (а не в меню) { if (platformList.Count() >= 10) { DeletePlatform(); } if (platformList.Count() < 10) { platformGenerator.GeneratePlatform(); } } }