EditorSceneViewGUI MethodsScoreFlash API Documentation V4.6.0
The EditorSceneViewGUI type exposes the following members.
Methods

  NameDescription
Public methodStatic memberGetScreenHeight
Returns Screen.height or Screen.height minus SceneViewHeightError, depending on whether we're in the scene view or not (this is to work around an offset bug of Unity).
Public methodStatic memberGetScreenWidth
Returns Screen.width or Screen.width minus SceneViewWidthError, depending on whether we're in the scene view or not (this is to work around an offset bug of Unity).
Public methodStatic memberToggle(Rect, Boolean)
Toggle that alterates between being a button and a box.
Public methodStatic memberToggle(Rect, Boolean, GUIContent, GUIContent)
A toggle with two icons representing the different states.
Public methodStatic memberToggleWithToolTip
A toggle with two icons representing the different states, and tooltips for both states.
Back to Top
See Also