Class ExampleNetworkSMAnim
Example implementation of the ExampleSMAnim.
Namespace: nickmaltbie.StateMachineUnity.netcode.ExampleAnim
Assembly: cs.temp.dll.dll
Syntax
public class ExampleNetworkSMAnim : NetworkSMAnim
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 NetworkState machine with animations.
Declaration
public override void Awake()
CheckWalking()
Check if the player is walking based on current input values.
Declaration
public void CheckWalking()
Update()
Example implementation of the ExampleSMAnim.
Declaration
public override void Update()