Class TrainHoppingAnimation
Inheritance
System.Object
Animation<System.Single>
AnimationEagerListenerMixinAnimation<System.Single>
AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<System.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<System.Single> | currentTrain | |
Animation<System.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<System.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 |
---|---|
System.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 |
---|---|
System.String |
Overrides
Unity.UIWidgets.animation.Animation<System.Single>.ToString()