Interface IValueAnimation
Base interface for transition animations.
Namespace: UnityEngine.UIElements.Experimental
Syntax
public interface IValueAnimation
Properties
durationMs
Duration of the transition in milliseconds.
Declaration
int durationMs { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
isRunning
Tells if the animation is currently active.
Declaration
bool isRunning { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Recycle()
Returns this animation object into its object pool.
Declaration
void Recycle()
Remarks
Keeping a reference to the animation object afterwards could lead to unspecified behaviour.
Start()
Starts the animation using this object's values.
Declaration
void Start()
Stop()
Stops this animation.
Declaration
void Stop()