Author Topic: Change to Protection level of Reset() in UITweener  (Read 2181 times)

ZombieFrog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Change to Protection level of Reset() in UITweener
« 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()?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Change to Protection level of Reset() in UITweener
« Reply #1 on: May 14, 2014, 05:49:44 AM »
Yes. :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Change to Protection level of Reset() in UITweener
« Reply #2 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.