Experimental: this API is experimental and might be changed or removed in the future.
public int
GetInsertionIndex(
Vector2 worldPosition);
Parameters
| worldPosition | | The world position to get an index from. |
Returns
int
Returns the insertion index.
Description 描述
Retrieves the insertion index in the StackNode if an item is dropped at the specified world position.