Esempio n. 1
0
 void CreateNextLevel()
 {
     blockSpawner.CreateBlockFromImage(levelInfoAsset.levelInfos[currentLevelIndex - 1], blockContainer);
     cubeSpawner.CreatBaseCube(blockSpawner, cubeContainer);
     groundSpawner.CreateGroundFromImage(levelInfoAsset.levelInfos[currentLevelIndex - 1], groundContainer);
 }
Esempio n. 2
0
 void CreateNextLevel()
 {
     createdObjects   = blockSpawner.CreateBlockFromImage(levelInfoAsset.levelInfos[currentLevelIndex - 1], blockContainer, levelInfoAsset.levelInfos[currentLevelIndex - 1].baseObj, blockContainer2);
     collectedObjects = blockSpawner.CreatedCubes(levelInfoAsset.levelInfos[currentLevelIndex - 1], blockContainer2, createdObjects.Count);
     slider.maxValue  = createdObjects.Count;
 }
 void CreateNextLevel()
 {
     blockSpawner.CreateBlockFromImage(levelInfoAsset.levelInfos[currentLevelIndex - 1], blockContainer);
 }