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