Settings
Class in Zigurous.Tweening
Declaration
public sealed class Settings : MonoBehaviour
Description
Properties for changing global tweening settings.
Static Properties
defaultEase | The default Ease assigned to every tween. |
defaultDuration | The default amount of seconds a tween takes to complete. |
defaultDelay | The default amount of seconds before every tween starts. |
overshoot | The overshoot value used in easing functions. |
initialCapacity | The initial amount of tweens memory is allocated for when the system starts. Additional memory will be allocated as needed. |
autoStart | Automatically starts tweens after being created, by default. This setting can be overridden by individual tweens. |
autoKill | Automatically kills tweens after being completed, by default. This setting can be overridden by individual tweens. |
recyclable | Keeps tweens in memory to be re-used after being killed, by default. This setting can be overridden by individual tweens. |
Methods
SetDefaultEase | Sets the default Ease assigned to every tween. |
SetDefaultDuration | Sets the default amount of seconds a tween takes to complete. |
SetDefaultDelay | Sets the default amount of seconds before every tween starts. |
SetOvershoot | Sets the overshoot value used in easing functions. |
SetInitialCapacity | Sets the initial amount of tweens memory is allocated for when the system starts. Additional memory will be allocated as needed. |
SetAutoStart | Sets whether to automatically start tweens after being created, by default. This setting can be overridden by individual tweens. |
SetAutoKill | Sets whether to automatically kills tweens after being completed, by default. This setting can be overridden by individual tweens. |
SetRecyclable | Sets whether to keep tweens in memory to be re-used after being killed, by default. This setting can be overridden by individual tweens. |