Class TinyAnimation | Project Tiny | 0.21.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class TinyAnimation

    Inheritance
    Object
    TinyAnimation
    Namespace: Unity.Tiny.Animation
    Syntax
    public static class TinyAnimation

    Methods

    GetDuration(World, Entity)

    Declaration
    public static float GetDuration(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity
    Returns
    Type Description
    Single

    GetTime(World, Entity)

    Declaration
    public static float GetTime(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity
    Returns
    Type Description
    Single

    IsPlaying(World, Entity)

    Declaration
    public static bool IsPlaying(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity
    Returns
    Type Description
    Boolean

    Pause(World, Entity)

    Declaration
    public static void Pause(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity

    Play(World, Entity)

    Declaration
    public static void Play(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity

    SetTime(World, Entity, Single)

    Declaration
    public static void SetTime(World world, Entity entity, float newTime)
    Parameters
    Type Name Description
    World world
    Entity entity
    Single newTime

    Stop(World, Entity)

    Declaration
    public static void Stop(World world, Entity entity)
    Parameters
    Type Name Description
    World world
    Entity entity
    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