예제 #1
0
 void OnDestroy()
 {
     TweenAnimationsManager.Remove(this);
     if (this.active)
     {
         TweenFactory.RemoveTweenKey("Up" + _id, TweenStopBehavior.DoNotModify);
         TweenFactory.RemoveTweenKey("Down" + _id, TweenStopBehavior.DoNotModify);
         TweenAnimationsManager.SetActiveNext();
     }
 }
예제 #2
0
 void OnDestroy()
 {
     TweenFactory.RemoveTweenKey("ColorDown" + _id, TweenStopBehavior.DoNotModify);
     TweenFactory.RemoveTweenKey("ColorDown" + _id, TweenStopBehavior.DoNotModify);
 }