Author Topic: AnimationOrTween.Trigger add None value  (Read 4447 times)

beings

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 5
    • View Profile
AnimationOrTween.Trigger add None value
« on: December 08, 2014, 09:55:30 PM »
Sometimes I want to play UIPlayAnimation through scripts, but must select a trigger.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: AnimationOrTween.Trigger add None value
« Reply #1 on: December 09, 2014, 01:46:53 PM »
If you want to play an animation through a script, just work with the UnityEngine.Animation.

UIPlayAnimation is a triggering script, like a button.