Author Topic: Possible AlphaTween bug?  (Read 1187 times)

hrlarsen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 35
    • View Profile
Possible AlphaTween bug?
« on: June 23, 2014, 06:46:14 AM »
Hi

I possibly found a bug with the TweenAlpha script, but it also might be intentional. Anyway if I have an empty gameobject with x number of children under it, and the empty gameobject has an AlphaTween component on it, it will only fade the first object in the hierachy. It works as expected if I add a widget to the empty GameObject, but one would think it should work having a widget or not on the parent object.

- GameObject with AlphaTween
    - sprite <- (Only this will be affected by AlphaTween)
    - sprite
    - ...


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Possible AlphaTween bug?
« Reply #1 on: June 24, 2014, 03:11:56 AM »
TweenAlpha is meant to tween widgets, not game objects. Game objects have no alpha. The way it searches for one on its children is kept only for backwards compatibility.