Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ZombieFrog on May 13, 2014, 07:09:41 PM

Title: Change to Protection level of Reset() in UITweener
Post by: ZombieFrog on May 13, 2014, 07:09:41 PM
Started seeing an error with the latest update when I reset a TweenScale component on a gui.

error CS0122: `UITweener.Reset()' is inaccessible due to its protection level

Didn't find a mention of this changing in version notes. Did find ResetToBeginning(), was the change intended to move use of Reset() to ResetToBeginning()?
Title: Re: Change to Protection level of Reset() in UITweener
Post by: Nicki on May 14, 2014, 05:49:44 AM
Yes. :)
Title: Re: Change to Protection level of Reset() in UITweener
Post by: ArenMook on May 14, 2014, 06:55:20 AM
That was a long time ago. Reset() is a Unity-reserved function name that's not documented anywhere relevant.