Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FormatDelegate

Creates a format delegate that wraps a function taking the format string.
Read time 1 minuteLast updated 13 days ago

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.