Author Topic: ActiveAnimation loop and playing multiple clip  (Read 1716 times)

neufoctobre

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
ActiveAnimation loop and playing multiple clip
« on: August 01, 2016, 08:51:02 AM »
Hello,

I wanted to know if there is a way, using ActiveAnimation.Play to loop an animation because when I call it, the animation play only one time.
I have multiple clip attached to an animation and I want to be able to play some in loop mode, some once.
And second thing, is there a way to play two clips at same time using activeAnimation ?
Thanks in advance !
« Last Edit: August 01, 2016, 09:55:10 AM by neufoctobre »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: ActiveAnimation loop and playing multiple clip
« Reply #1 on: August 03, 2016, 09:09:30 AM »
ActiveAnimation is merely a helper class that plays an existing animation. It expects an animation/animator to be already on the game object, and that's where you specify what kind of properties it has -- loop etc. For a legacy animation that would be GetComponent<Animation>().wrapMode, for example.