I've been trying for 2 fucking hours and this doesn't play the animation I want. This is C# if anyone can help, it'd be appreciated.
Nevermind fixed it!
>>60838829
>c#
>unity
thats like giving someone a project written in scala and saying 'its ok bro, it's just java'
i'm no programmer, but aren't you missing a couple }'s there?
>>60840625
it looks like he does, but it's the retarded indentation confusing you
>>60841185
oh wow
that's really confusing
Disgusting indentation
Saged
Never used unity.
I would think it requires some sort of on_event trigger.
wtf is the ontriggerexit about. Just a fucking random sub in the middle of nowhere.
Even if your trigger is working, have you even verified that your button name is "Fire1". Most retards when troubleshooting would put an else statement to put a breakpoint or console message on.
>>60838829
assign anim in the Start() method!!!
>>60838829 holy shit this is your average unity developer everyone