DOTween  0.8.530
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
DOTweenComponent Class Reference

Used to separate DOTween class from the MonoBehaviour instance (in order to use static constructors on DOTween). Contains all instance-based methods More...

Inheritance diagram for DOTweenComponent:
IDOTweenInit

Public Member Functions

IDOTweenInit SetCapacity (int tweenersCapacity, int sequencesCapacity)
 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. More...
 

Public Attributes

int inspectorUpdater
 Used internally inside Unity Editor, as a trick to update DOTween's inspector at every frame More...
 

Detailed Description

Used to separate DOTween class from the MonoBehaviour instance (in order to use static constructors on DOTween). Contains all instance-based methods

Member Function Documentation

IDOTweenInit SetCapacity ( int  tweenersCapacity,
int  sequencesCapacity 
)

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.

Parameters
tweenersCapacityMax Tweeners capacity. Default: 200
sequencesCapacityMax Sequences capacity. Default: 50

Implements IDOTweenInit.

Member Data Documentation

int inspectorUpdater

Used internally inside Unity Editor, as a trick to update DOTween's inspector at every frame