Author Topic: UITexture image not animating when animation component placed on the parent  (Read 4494 times)

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
https://www.youtube.com/watch?v=TFSiCsTwX1A

this is the hierarchy
parent (animation component)
uitexture


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Remove the "static" checkmark from your UIPanel.

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
you're my hero

MKingery

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
    • Persional Blog
what if you are sure that UIPanel is unchecked as static and the animation is still not playing?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
What is animated? If you're animating private member variables, such as "MColor", it won't work. You need to use appropriate tweens instead (such as TweenColor), or an intermediate script, such as AnimatedColor.