Hello!
I’m currently working on a multiplayer FPS game using Unity3D 4.5 and CSharp. I have a chat window that I use a scrollview for but no matter what values I enter it always place itself in the top left corner but I want it in the bottom left corner right above the textfield.
Here’s the coe I currently have for the window:
Vector2 v = new Vector2(0, (Screen.height / 2) - (Screen.height / 8));
v = GUILayout.BeginScrollView(v, "box", GUILayout.Width(Screen.width / 3), GUILayout.Height(Screen.height / 4));
And the textfield:
InputString = GUI.TextField(new Rect(0, (Screen.height) - (Screen.height / 16), Screen.width / 3, Screen.height / 16), InputString);
Any help is appreciated!
Thanks in advance