Unity code sets the camera position in the Scene window

Code sets the camera position in the Scene window

#if UNITY_EDITOR
            UnityEditor.SceneView.lastActiveSceneView.camera.transform.position = Vector.zero;
#endif

Guess you like

Origin blog.csdn.net/qq_26318597/article/details/134967624