Log
Logs an informational message.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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 graph 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, GraphLogAction)
Logs an informational message with an associated marker action.
public void Log(object message, object context, GraphLogAction graphLogAction)
Parameters
The message to display.
Context object to associate with the message. The context is typically a node in the graph that the message relates to.
A GraphLogAction that might be invoked with the provided context.
Remarks
The system displays an info marker next to the specified object in the Graph Editor and the provided might be invoked for that context. The message also appears in the Unity Console. Use for communicating non-critical information.
graphLogAction