mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
+ Fixed possible error where killAdd was increased only by maxTweeners if capacity was set to increase both by tweeners and by sequences
28 lines
1.2 KiB
C#
28 lines
1.2 KiB
C#
// Author: Daniele Giardini - http://www.demigiant.com
|
|
// Created: 2019/02/24 13:05
|
|
// License Copyright (c) Daniele Giardini
|
|
// This work is subject to the terms at http://dotween.demigiant.com/license.php
|
|
|
|
namespace DG.Tweening
|
|
{
|
|
/// <summary>
|
|
/// Behaviour that can be assigned when chaining a SetLink to a tween
|
|
/// </summary>
|
|
public enum LinkBehaviour
|
|
{
|
|
/// <summary>Pauses the tween when the link target is disabled</summary>
|
|
PauseOnDisable,
|
|
/// <summary>Pauses the tween when the link target is disabled, plays it when it's enabled</summary>
|
|
PauseOnDisablePlayOnEnable,
|
|
/// <summary>Pauses the tween when the link target is disabled, restarts it when it's enabled</summary>
|
|
PauseOnDisableRestartOnEnable,
|
|
/// <summary>Plays the tween when the link target is enabled</summary>
|
|
PlayOnEnable,
|
|
/// <summary>Restarts the tween when the link target is enabled</summary>
|
|
RestartOnEnable,
|
|
/// <summary>Kills the tween when the link target is disabled</summary>
|
|
KillOnDisable,
|
|
/// <summary>Kills the tween when the link target is destroyed (becomes NULL). This is always active even if another behaviour is chosen</summary>
|
|
KillOnDestroy,
|
|
}
|
|
} |