Log
Logs an informational message.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
Log(Object, Object)
Logs an informational message.
public void Log(object message, object context = null)
Parameters
Remarks
When a is provided, the system displays an info marker next to the specified object in the state machine editor. The message also appears in the Unity Console. If no context is given, the message is logged to the console only. Use for communicating non-critical information.
contextLog(Object, Object, StateMachineLogAction)
Logs an informational message with an associated marker action.
public void Log(object message, object context, StateMachineLogAction stateMachineLogAction)
Parameters
The message to display.
Context object to associate with the message. The context is typically a state in the state machine that the message relates to.
A StateMachineLogAction that might be invoked with the provided context.
Remarks
The system displays an info marker next to the specified object in the state machine editor and the provided might be invoked for that context. The message also appears in the Unity Console. Use for communicating non-critical information.
stateMachineLogAction