GetInsertionIndex(Vector2)
Retrieves the insertion index in the StackNode if an item is dropped at the specified world position.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public virtual int GetInsertionIndex(Vector2 worldPosition)
Parameters
The world position to get an index from.
Returns
Type | Description |
|---|---|
| int | Returns the insertion index. |