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

StackNode.GetInsertionIndex

マニュアルに切り替える
public int GetInsertionIndex (Vector2 worldPosition);

パラメーター

worldPositionThe world position to get an index from.

戻り値

int Returns the insertion index.

説明

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