Esempio n. 1
0
 public void SetCubeData(LevelData levelData)
 {
     cubeController.gameObject.SetActive(true);
     cubeController.LevelCompleted -= LoadNextLevelDelayed;
     cubeController.LevelCompleted += LoadNextLevelDelayed;
     cubeController.SetData((CubeData)levelData.PuzzleData);
 }
 private void UpdateModel()
 {
     cubeController.SetData(this, !initialised);
     if (!initialised)
     {
         initialised = true;
     }
 }