跳到主要内容

Class UAFHelper

Assembly: UnityAppFlavor.dll
View Source
Declaration
[UsedImplicitly]
public static class UAFHelper

Methods

GetCurrencyInfo(string)

View Source
Declaration
public static UAFCultureInfo GetCurrencyInfo(string symbol)
Returns

UnityAppFlavor.UAFCultureInfo

Parameters
TypeName
System.Stringsymbol

GetLanguageCultureInfo(SystemLanguage)

View Source
Declaration
public static UAFCultureInfo GetLanguageCultureInfo(SystemLanguage language)
Returns

UnityAppFlavor.UAFCultureInfo

Parameters
TypeName
UnityEngine.SystemLanguagelanguage

Localize(double, int)

根据货币比例进行转换

View Source
Declaration
public static string Localize(this double value, int keep_decimal = 2)
Returns

System.String

Parameters
TypeName
System.Doublevalue
System.Int32keep_decimal