文档

Unity Engine

Unity Engine

FormatSmart(string, params object[])

Formats the specified arguments, using this string as the composite format string.
阅读时间1 分钟最后更新于 1 个月前

Definition

FormatSmart(string, Object[])

public static string FormatSmart(this string format, params object[] args)

Parameters

format

Composite format string that defines how the arguments are formatted.

Arguments to insert into the formatted output.

Returns

Type

Description

stringA new string with the format items replaced by the formatted arguments.