Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How do I put a couroutine inside a GUI.ScrollTo???

$
0
0
Hey guys...

Help me out a little bit, here, please

I have 2 couroutines that bring the names and scores from a Highscores table I have located in a server...

I would need to put the result inside a GUI.ScrollTo, so I can show 50 scores instead of 10, only (so the users can scroll down to see them)...

How do I do it?

This is the code related:

Code (CSharp):
  1. void OnGUI()
  2.     {
  3.         if (GUI.Button(new Rect(Screen.width * .15f, Screen.height * .1f, Screen.width * .35f, Screen.height * .33f),...
How do I put a couroutine inside a GUI.ScrollTo???

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>