Unity 5 – How to Make a Hidden Object Game – Part 8
Design and Deploy
Views: 2209
Like: 17
How to animate an object when clicked on.
01.10.2022
6 Comments
My hintmeter used to work, but since the last changes with the ball. It no longer works. Will you please put the updated changes to the script into the downloaded files. Thank you.
How to make the passage of the level points each time updated? For example there are 3 levels. What used after the passage of each level to score points score lev 1 + score Lev 2?
After correcting the error in the pause I have this error: MissingComponentException: There is no 'CircleCollider2D' attached to the "gem" game object, but a script is trying to access it. You probably need to add a CircleCollider2D to the game object "gem". Or your script needs to check if the component is attached before using it. disableclicks.Update () (at Assets/_Scripts_menu_Button/disableclicks.cs:35)
Another wonderful tutorial. I have many animated objects in my scene. I entered your suggested script and receive no errors. But, my cat doesn't exit on click, and the animation plays immediately on start. Do I need to put the name of the animation into the script to correct this? I'm using Unity 5. Mahalo
Cool! This works perfectly thank you so much. Question: The rest of my clickable objects when clicked on need to disappear and transition to a different pose which shows and then disappears. Is this possible? Mahalo
My hintmeter used to work, but since the last changes with the ball. It no longer works. Will you please put the updated changes to the script into the downloaded files. Thank you.
How to make the passage of the level points each time updated?
For example there are 3 levels. What used after the passage of each level to score points score lev 1 + score Lev 2?
After correcting the error in the pause I have this error: MissingComponentException: There is no 'CircleCollider2D' attached to the "gem" game object, but a script is trying to access it.
You probably need to add a CircleCollider2D to the game object "gem". Or your script needs to check if the component is attached before using it.
disableclicks.Update () (at Assets/_Scripts_menu_Button/disableclicks.cs:35)
How to make in-game search silhouette instead of words?
Another wonderful tutorial. I have many animated objects in my scene. I entered your suggested script and receive no errors. But, my cat doesn't exit on click, and the animation plays immediately on start. Do I need to put the name of the animation into the script to correct this? I'm using Unity 5. Mahalo
Cool! This works perfectly thank you so much. Question: The rest of my clickable objects when clicked on need to disappear and transition to a different pose which shows and then disappears. Is this possible? Mahalo