docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PlayAnimation

    PlayAnimation(uint, double, bool)

    plays an animation

    Declaration
    public void PlayAnimation(uint animation, double speed = 1, bool loop = false)
    Parameters
    Type Name Description
    uint animation

    Animation to play

    double speed

    Speed

    bool loop

    Should the animation loop?

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)