기술 자료

Unity Engine

Download Unity

Unity Engine

FormatLengthInSeconds(float)

Formats a given float duration as a string in the format "X.XXX s".
읽는 시간 1분최근 업데이트: 3시간 전

Definition

public static string FormatLengthInSeconds(float length)

Parameters

length

Length value to format.

Returns

Type

Description

stringA string representation of the input value as a duration in seconds.