Why is WrapMode.ClampForever is not working anymore?
When I add this to my script animation["myState"].wrapMode = WrapMode.ClampForever;
I get the warning: 'Component.animation' is obsolete: 'Property animation has been deprecated. Use GetComponent() instead. (UnityUpgradable)'
is there something new to this method or am I doing something wrong?
Comment
Your answer
Follow this Question
Related Questions
Animation keeps playing even on wrapmode once 0 Answers
Cannot apply indexing with [] to an expression of type 'Animator' 1 Answer
CAT, Bones or Biped? (3D MAx) 0 Answers
Offset Reload Animation to Fit New Model 0 Answers
Can unity animate 3D objects? 0 Answers