文档

Unity Engine

Unity Engine

FormatDelegate

Creates a format delegate that wraps a function taking the format string.
阅读时间1 分钟最后更新于 1 个月前

Definition

FormatDelegate(Func<string, string>)

Creates a format delegate that wraps a function taking the format string.
public FormatDelegate(Func<string, string> getFormat)

Parameters

Function that returns the formatted output for a given format string.

FormatDelegate(Func<string, IFormatProvider, string>)

Creates a format delegate that wraps a function taking the format string and a format provider.
public FormatDelegate(Func<string, IFormatProvider, string> getFormat)

Parameters

Function that returns the formatted output for a given format string and format provider.