public void OnGUI() { Instance = this; var rect = new Rect(0f, 0f, this.position.width, this.position.height); GUILayout.BeginArea(rect); _scrollPosition = GUILayout.BeginScrollView(_scrollPosition); InvertApplication.SignalEvent <IDrawNavigationHistory>(_ => _.DrawNavigationHistory(rect)); GUILayout.EndScrollView(); GUILayout.EndArea(); }
public void OnGUI() { Instance = this; var rect = new Rect(0f, 0f, this.position.width, this.position.height); GUILayout.BeginArea(rect); _scrollPosition = GUILayout.BeginScrollView(_scrollPosition); InvertApplication.SignalEvent<IDrawNavigationHistory>(_ => _.DrawNavigationHistory(rect)); GUILayout.EndScrollView(); GUILayout.EndArea(); }