Version: 2023.1
Experimental: this API is experimental and might be changed or removed in the future.

NodeCreationContext

struct in UnityEditor.Experimental.GraphView

切换到手册

描述

此结构表示用户开始创建图形节点时的上下文。

变量

index所创建节点的插入位置索引。
screenMousePosition在屏幕的坐标空间中发起创建节点请求的单击位置。
target要添加所创建节点的 VisualElement。

Did you find this page useful? Please give it a rating: