Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StateMachineLogAction

An StateMachineLogAction.Action to associate with a message logged using the StateMachineLogger accepting an Object.
Read time 1 minuteLast updated 13 days ago

Definition

public class StateMachineLogAction

Remarks

StateMachineLogAction
serves as a way to link user executable actions to messages logged using the StateMachineLogger when handling StateMachine.OnStateMachineChanged. The Object parameter is the same as the context passed when logging messages with the StateMachineLogger.

Constructors

Constructor

Description

StateMachineLogAction(System.String,System.Action{System.Object})Initializes a new instance of the StateMachineLogAction class.

Properties

Property

Description

ActionThe action to execute.
DescriptionThe description of the action.