Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GUI.Box(new Rect(Screen.width/2-251,49,502,402),"");
- scrollPosition = GUI.BeginScrollView(new Rect(Screen.width/2-250,50,500,400),scrollPosition,new Rect(Screen.width/2+200,0,50,400));
- string[] ScoresArray = vk.GetComponent<WebData>().GlobalScores.Split(new char[] { '#' });
- for(int i = 0; i < ScoresArray.Length; i++)
- {
- string[] ScoresEntry = ScoresArray[i].Split(new char[] { '*' });
- GUILayout.BeginHorizontal();
- //GUILayout.Button(avatarPicture, GUILayout.Width(50));
- GUILayout.Label(ScoresEntry[1], GUILayout.Width(250));
- GUILayout.Button(ScoresEntry[3], GUILayout.Width(150));
- GUILayout.EndHorizontal();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement