Quantcast
Viewing latest article 3
Browse Latest Browse All 8

Answer by AwesomeFaceHD

Why not just use GUI Styles to make a button just a texture? var Texture1 : GUIStyle; var Texture2 : GUIStyle; function OnGUI() { if(GUI.Button(new Rect(10, 10, 100, 100), "", Texture1)) { //Code Here } } Then in the inspector go to your GUI Style and drag your texture in the box under "Normal". That's what I always do, it's really easy.

Viewing latest article 3
Browse Latest Browse All 8

Trending Articles



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