文档

Unity Engine

Unity Engine

NodeCreationContext

This struct represents the context when the user initiates creating a graph node.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct NodeCreationContext

Fields

Value

Description

indexThe index where the created node will be inserted.
screenMousePositionPosition of the click that initiated the request to create a node, in the coordinate space of the screen.
targetThe VisualElement where the created node will be added.