Quantcast
Channel: Answers by "Bruno Tavares"
Browsing latest articles
Browse All 6 View Live

Answer by Bruno Tavares

When you are creating your player instances you should instanciate your prefab for the box controller with a script (for example: BoxControllerScript), where you should store your players name. Then...

View Article



Answer by Bruno Tavares

If both scripts are in the same GameObject just get the Game component: Game gameScript = GetComponent(); Then you can use the Sound function from Game script. But if you want to call the function...

View Article

Answer by Bruno Tavares

Uh I figured the problem myself. I was setting the selection (wich is a GameObject) rotation before populating it with the children GameObjects. The children where being created with a rotation on the...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images