Quantcast
Channel: Latest Questions by Lance Sun
Viewing all articles
Browse latest Browse all 14

How do I center things on screen using GUILayout?

$
0
0

I have a GUILayout button. How would I center it on screen?

void OnGUI()
{
    GUILayout.Button("OK");
}

Viewing all articles
Browse latest Browse all 14

Trending Articles



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