Version: 2022.3
言語: 日本語
public int GetAnimationFrameCount (Vector3Int position);

パラメーター

position Grid cell position.

戻り値

int Returns the number of animation frames. Returns 0 when there is no animation for the Tile at the given position.

説明

Retrieves the number of animation frames for a Tile at the given position.

Returns 0 if there is no animation for a Tile at the given position.