Class CommentNode
A visual comment node used to add annotations or notes within the node graph. Allows adjustable size and color for better visual organization.
public class CommentNode : BaseNode
Inheritance
Remarks
The node's name field is used as the comment text.
Fields
comment
The text content of the comment displayed in the comment node's header.
public string comment
Field Value
string
shouldOpenCommentEdit
Indicates whether the comment edit window should be opened.
[NonSerialized]
public bool shouldOpenCommentEdit
Field Value
bool
Methods
EnableCommentEdit()
Enables edit mode for the comment. Called via the context menu in the editor.
[ContextMenu("Edit Comment")]
public void EnableCommentEdit()