기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetAnimationFrameCount(Vector3Int)

Retrieves the number of animation frames for a Tile at the given position.
읽는 시간 1분최근 업데이트: 22일 전

Definition

public int GetAnimationFrameCount(Vector3Int position)

Parameters

position

Grid cell position.

Returns

Type

Description

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

Remarks

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