文档

Unity Engine

Unity Engine

FormatBytes(long)

Formats a number into a file size in bytes string.
阅读时间1 分钟最后更新于 1 天前

Definition

public static string FormatBytes(long byteCount)

Parameters

byteCount

Byte count.

Returns

Type

Description

stringFormatted string.

Remarks

This function is used by the search asset provider to format the item description.