#How to make an animation play through an event hook

13 messages · Page 1 of 1 (latest)

wet bough
#

Confused on how I should set up a simple transform animation through Unity to have it be played through an event hook

manic adderBOT
#

@wet bough
To set up Unity for Unturned modding, here's what you need to do:

Step 1: Create a new 3D Project

Step 2: Open the project

Step 3: In your Steam library, right click Unturned and open properties. select the Local Files tab and click Browse. Once the Unturned directory is open, navigate to Bundles/Sources/.

Step 4: Click on the Project.unitypackage or simply Project, which will open the Import window for Unity. Make sure everything is selected and click Import. Wait for the import to finish and repeat Step 4 with Example Assets

You Successfully set up your Unity project and you can now begin modding. For modding tutorials check out #modding-resources
If you require further assistance, do not hesitate to ask in #1020661613491146812

quaint cargo
#

I mean explain the situation

wet bough
#

im trying to make a moving part of my vehicle move to a fixed location when the player exits

quaint cargo
#

Animator.play <string>

#

U slide ur GO that contain the animator there

quaint cargo
#

Dnt forget to remove loop from ur animation

wet bough
#

oh

#

gameobject