FormatLengthInSeconds(float)
Formats a given float duration as a string in the format "X.XXX s".
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor.Utils
- Assembly: UnityEditor
public static string FormatLengthInSeconds(float length)
Parameters
Length value to format.
Returns
Type | Description |
|---|---|
| string | A string representation of the input value as a duration in seconds. |