Class TrainHoppingAnimation | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class TrainHoppingAnimation

    Inheritance
    Object
    Animation<Single>
    AnimationEagerListenerMixinAnimation<Single>
    AnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>
    AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>
    TrainHoppingAnimation
    Inherited Members
    AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.addStatusListener(AnimationStatusListener)
    AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.removeStatusListener(AnimationStatusListener)
    AnimationLocalStatusListenersMixinAnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.notifyStatusListeners(AnimationStatus)
    AnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.addListener(VoidCallback)
    AnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.removeListener(VoidCallback)
    AnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<Single>.notifyListeners()
    AnimationEagerListenerMixinAnimation<Single>.didRegisterListener()
    AnimationEagerListenerMixinAnimation<Single>.didUnregisterListener()
    Animation<Single>.isDismissed
    Animation<Single>.isCompleted
    Animation<Single>.toStringDetails()
    Animation<Single>.drive<U>(Animatable<U>)
    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()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023