|
Ok people once again i surrender to your knowledge. Here's my question. I'm having two bugs happening inside my game. It's a tank game and the first question is related to the tank control. So i have a script to make it move wich is applied to the general object. I have then two sub-scripts that control his tower and his cannon. They are as simple as this....
The horizontal one is the same. The problem with this script, and i don't know why, when i start the game i can control the overall tank but this mouse control takes like 5 seconds or more to be loaded and get me control over my cannon. Why is this happening? is something related to unity's loading script order memory or so? The other bug that i have in my game here is related to the menu. I have this script over two buttons in my main menu, the buttons are simply a 3d text with a box collider applied to them.
And in my main menu i have this script that is assessed by a script to check the esc button:
The problem here is that if i play my game from the beginning there is no problem pressing the play menu button and start the game or pressing quit to exit app, but once i use the pause menu to go back to the main menu these two buttons (play game and quit) don't work anymore... Is this a unity's bug or am i missing something? Thanks a lot guys, hope you can help me solve this problem. I'll be glad to hear from you. :D
(comments are locked)
|
