Version: 2022.3
언어: 한국어

Tilemap.GetAnimationFrame

매뉴얼로 전환
public int GetAnimationFrame (Vector3Int position);

파라미터

position Grid cell position.

반환

int Returns the current animation frame. Returns -1 when there is no animation for the Tile at the given position.

설명

Retrieves the current animation frame for a Tile at the given position.

This method returns the current animation frame for a Tile at the given position. If there is no animation for the Tile at the given position, then this returns -1.