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).
Namespace: NarayanaGames.CommonAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
Parameters
- isInSceneView
- Type: System Boolean
are we currently in the scene view?
Return Value
Screen.width or Screen.width minus SceneViewWidthErrorSee Also