Quantcast
Channel: Answers by "Kerihobo"
Viewing all articles
Browse latest Browse all 78

Answer by Kerihobo

$
0
0
im not sure the GameObject.Find is needed, unless this is going on to an object that isn't music switch. Just try guiTexture.texture = whatever; that should refer to the guiTexture component upon the game object calling the script. Also you could try just using Texture2D for your variable instead of GUITexture because a GUITexture is simply a component that accepts a Texture2D. Untested, good luck.

Viewing all articles
Browse latest Browse all 78

Trending Articles



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