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

StackNode.GetInsertionIndex

Cambiar al Manual
public int GetInsertionIndex (Vector2 worldPosition);

Parámetros

worldPositionThe world position to get an index from.

Valor de retorno

int Returns the insertion index.

Descripción

Retrieves the insertion index in the StackNode if an item is dropped at the specified world position.