// 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 { /// /// Behaviour that can be assigned when chaining a SetLink to a tween /// public enum LinkBehaviour { /// Pauses the tween when the link target is disabled PauseOnDisable, /// Pauses the tween when the link target is disabled, plays it when it's enabled PauseOnDisablePlayOnEnable, /// Pauses the tween when the link target is disabled, restarts it when it's enabled PauseOnDisableRestartOnEnable, /// Plays the tween when the link target is enabled PlayOnEnable, /// Restarts the tween when the link target is enabled RestartOnEnable, /// Kills the tween when the link target is disabled KillOnDisable, /// Kills the tween when the link target is destroyed (becomes NULL). This is always active even if another behaviour is chosen KillOnDestroy, } }