Search Results for

    Show / Hide Table of Contents

    Class ExampleSMAnim

    Example implementation of the ExampleSMAnim.

    Inheritance
    Object
    ExampleSMAnim
    Namespace: nickmaltbie.StateMachineUnity.ExampleFSM
    Assembly: cs.temp.dll.dll
    Syntax
    public class ExampleSMAnim : FixedSMAnim

    Fields

    jumpAction

    Jump action for the player.

    Declaration
    public InputActionReference jumpAction
    Field Value
    Type Description
    InputActionReference

    moveAction

    Movement action for the player.

    Declaration
    public InputActionReference moveAction
    Field Value
    Type Description
    InputActionReference

    punchAction

    Punch action for the player.

    Declaration
    public InputActionReference punchAction
    Field Value
    Type Description
    InputActionReference

    Methods

    Awake()

    Configure actions for the example state machine with animations.

    Declaration
    public override void Awake()

    CheckWalking()

    Check if the player is walking based on current input values.

    Declaration
    public void CheckWalking()
    In This Article
    Back to top State Machine Unity Documentation