Okay so i need some help with my GUI. I want to write a method for the delta change in a scroll bar but first i need to collect data. i want to use a GUI component to display my results so i can write the method. So heres the problem, i want to display my results at the 100 pixels on the right side of the screen, but i can't figure out how to do that. here is the code i'm messing with.
- Code: Select All Code
/GUI.Box(new Rect(0,0, Screen.width, Screen.height-150),"");
//scrollPosition = GUILayout.BeginScrollView (scrollPosition, GUILayout.Width (Screen.width-100), GUILayout.Height (Screen.height-150));
//GUILayout.Label(this.gameText);
//GUILayout.EndScrollView ();
debuggingVectorScrollPosition = GUILayout.BeginScrollView(this.debuggingVectorScrollPosition, GUILayout.Width(Screen.width),GUILayout.Height(Screen.height-150), GUILayout.MaxWidth(100));
GUILayout.Label("TEST LABEL");
GUILayout.EndScrollView ();