文档

Unity Engine

Unity Engine

GraphLogAction

An GraphLogAction.Action to associate with a message logged using the GraphLogger accepting an Object.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class GraphLogAction

Remarks

GraphLogAction
serves as a way to link user executable actions to messages logged using the GraphLogger when handling Graph.OnGraphChanged. The Object parameter is the same as the context passed when logging messages with the GraphLogger.

Constructors

Constructor

Description

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

Properties

Property

Description

ActionThe action to execute.
DescriptionThe description of the action.