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

StackNode.GetInsertionIndex

Declaration

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.


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