Talk:TGB/Behaviors/Fade Object

From TDN

Is it really a good idea to disable the onUpdate callback on the owner of the Fade behavior? What if some other behavior is relying on the callback being enabled?


I'm using TGB 1.7.5 and the onFadeFinish of my class wasn't getting called. I changed line 171 from

if(%this.Callback && isMethod(%this.owner, onFadeFinish))

to

if(%this.Callback && %this.owner.isMethod(onFadeFinish))

This seem to fix it. Is this a proper fix? (I'm new to Torque).