EditorSceneViewGUI GetScreenWidth Method ScoreFlash API Documentation V4.6.0
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.Common
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public static float GetScreenWidth(
	bool isInSceneView
)

Parameters

isInSceneView
Type: OnlineSystem Boolean
are we currently in the scene view?

Return Value

Screen.width or Screen.width minus SceneViewWidthError
See Also