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