Version: 2023.2
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

StackNode.GetInsertionIndex

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

パラメーター

worldPosition The 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.