Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Buttons are not working with my GameManager script, after scene load.

$
0
0
Hello, I am making a 2D remake of an old arcade game. In doing so, the first scene creates a GameObject called GameManager. This script is responsible for keeping track of what level the player is on, playing the in-game sound track, exiting the game, and loading between scenes. I am using the new Unity5 GUI system, rigging the button to the game object, and then calling the desired function.

I created a prefab for the GameManager and placed one in each scene, so that i can rig the buttons...

Buttons are not working with my GameManager script, after scene load.

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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