Class TrainHoppingAnimation
Inheritance
AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>
TrainHoppingAnimation
Inherited Members
Namespace: Unity.UIWidgets.animation
Syntax
public class TrainHoppingAnimation : AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<float>, ValueListenable<float>, Listenable
Constructors
TrainHoppingAnimation(Animation<Single>, Animation<Single>, VoidCallback)
Declaration
public TrainHoppingAnimation(Animation<float> currentTrain = null, Animation<float> nextTrain = null, VoidCallback onSwitchedTrain = null)
Parameters
Type | Name | Description |
---|---|---|
Animation<Single> | currentTrain | |
Animation<Single> | nextTrain | |
VoidCallback | onSwitchedTrain |
Fields
onSwitchedTrain
Declaration
public VoidCallback onSwitchedTrain
Field Value
Type | Description |
---|---|
VoidCallback |
Properties
currentTrain
Declaration
public Animation<float> currentTrain { get; }
Property Value
Type | Description |
---|---|
Animation<Single> |
status
Declaration
public override AnimationStatus status { get; }
Property Value
Type | Description |
---|---|
AnimationStatus |
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.status
value
Declaration
public override float value { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.value
Methods
dispose()
Declaration
public override void dispose()
Overrides
Unity.UIWidgets.animation.AnimationEagerListenerMixinAnimation<System.Single>.dispose()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.ToString()