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