Author Topic: I added some stuff to UI2DSpriteAnimation. Here it is if anyone finds it useful.  (Read 2649 times)

Emirk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 2
    • View Profile
Added:

inspector variables:
-runAnimation - let's you determine if the animation should play on start or not.
-loopAnimation - let's you specify weather or not the animation should loop.

methods:
-play()
-stop()
-pause()

The modified script is attached.