internal void Awake()
{
if (this.m_SceneViewState == null)
{
this.m_SceneViewState = new SceneViewState();
}
if (this.m_2DMode || (EditorSettings.defaultBehaviorMode == EditorBehaviorMode.Mode2D))
{
this.m_LastSceneViewRotation = Quaternion.LookRotation(new Vector3(-1f, -0.7f, -1f));
this.m_LastSceneViewOrtho = false;
this.m_Rotation.value = Quaternion.identity;
this.m_Ortho.value = true;
this.m_2DMode = true;
if (Tools.current == Tool.Move)
{
Tools.current = Tool.Rect;
}
}
}