#In a button, why can't I call Play() on

1 messages · Page 1 of 1 (latest)

nova olive
#

I haven't really used this kind of a workflow before but I know Animation component is a legacy thing and is advised not to use.

When I recreate this myself with Animation component I get the same options as you, no Play() but when I recreate this with an Animator which would be more in line with the recommended Unity approach it does have a Play and many other options, so maybe Animation not having it is just as a result of it being a legacy component and not being kept up to date. I'd say try out the Animator and see if you can make that work for you.

valid basalt
#

yeah I had to use an animator in the end, sorry I should have written it but then I had the issue that it marked my animations as legacy and didn't want to use them in animator so I had to figure that out and forgot. Thanks anyway though

nova olive
#

No worries, gave me a chance to read up on / explore some new stuff 🙂

Out of curiosity, why were your anims marked as legacy in the animator? Was it to do with the rig type on import?