Ejemplo n.º 1
0
 public void RestoreStateToSceneView(SceneView view)
 {
     view.cameraMode     = cameraMode;
     view.sceneLighting  = sceneLighting;
     view.audioPlay      = audioPlay;
     view.sceneViewState = new SceneView.SceneViewState(sceneViewState);
     view.in2DMode       = in2DMode;
     view.pivot          = pivot;
     view.rotation       = rotation;
     view.size           = size;
     view.orthographic   = orthographic;
     view.SkipFading();
 }