You can create an animation inside of Unity. You can animate a gameobject and save it as a *.anim file in your assets folder. Creating the anim you open up a timeline, scroll to keyframes in time and then change a component property while the anim is in record mode. Anyway see how to do it in the tutorial video.
This kind of thing can be useful for things like collectable coins, powerups, etc. that you don't want to write code for and are basically going to repeat the same animation in a loop. At least that's what using it for in a racing game I'm working on.
Source Code: https://github.com/omarvision/Animate...
Auf dieser Seite können Sie das Online-Video Animate Inside Unity 2021 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Omar Santiago 27 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 197 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!