ドキュメント

Unity Engine

Unity Engine

GetInsertionIndex(Vector2)

Retrieves the insertion index in the StackNode if an item is dropped at the specified world position.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public virtual int GetInsertionIndex(Vector2 worldPosition)

Parameters

worldPosition

The world position to get an index from.

Returns

Type

Description

intReturns the insertion index.