Move an sphere when button clicked
Hi, I need to move a sphere when I click a button. I have a problem with that, I'm new using Unity and I am a C# programmer.
When I try to move the sphere, the first problem I have is that I don't know how to reffers to this sphere. Also, I don't know the commands to move the sphere.
The button has an onClick event that and I can see a text when I click on it. The sphere has a rigidbody.
Can anyone help me? Thanks!
Comment
Your answer
Follow this Question
Related Questions
Jump is higher then normal 0 Answers
How can I change the UI button color when clicked 1 Answer
Move the player by holding a UI Button? 1 Answer