The main points to follow:
- Follow the tutorial video up until you have to change the looping type of the animation.
- Change the "Inspector" panel to "Debug" mode using the little menu to the right of the tab listing.
- Add an Animation component and remove the Animator component if you added it before.
- Drag the Animation object you created in the tutorial from the Project listing into the Animation field of the animation component.
- Finally, change the wrap mode to ping-pong.
* Note: this won't change the animation loop in the Animation preview window but it should behave as desired when you run the game.
Hope this helps anyone stuck on this part.
Hope this helps anyone stuck on this part.
Thanks for posting the tip for others!
ReplyDelete