Пример #1
0
 public static void ResetCapacities()
 {
     TweenManager.SetCapacities(200, 50);
 }
 /// <summary>
 /// Directly sets the current max capacity of Tweeners and Sequences
 /// (meaning how many Tweeners and Sequences can be running at the same time),
 /// so that DOTween doesn't need to automatically increase them in case the max is reached
 /// (which might lead to hiccups when that happens).
 /// Sequences capacity must be less or equal to Tweeners capacity
 /// (if you pass a low Tweener capacity it will be automatically increased to match the Sequence's).
 /// Beware: use this method only when there are no tweens running.
 /// </summary>
 /// <param name="tweenersCapacity">Max Tweeners capacity.
 /// Default: 200</param>
 /// <param name="sequencesCapacity">Max Sequences capacity.
 /// Default: 50</param>
 public IDOTweenInit SetCapacity(int tweenersCapacity, int sequencesCapacity)
 {
     TweenManager.SetCapacities(tweenersCapacity, sequencesCapacity);
     return(this);
 }
Пример #3
0
 // Token: 0x0600026C RID: 620 RVA: 0x0000DB99 File Offset: 0x0000BD99
 internal static void ResetCapacities()
 {
     TweenManager.SetCapacities(200, 50);
 }