Пример #1
0
 public void SetData(CubeData data, bool cameraInit = true)
 {
     if (currentSlice != null)
     {
         DestroyCurrentSlice(this);
     }
     model.SetData(data);
     if (cameraInit)
     {
         cameraController.Init();
     }
 }