You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This function exists because UnityEngine.dll is compiled against .NET 3.5, but .NET Core removes all the overloads
// except this one. So to prevent our code compiling against the (string, object, object) version and use the params
// version instead, we reroute through this.
// </OUTDATED>
// This was added to support .net Core in UWP Metro Apps. We no longer require this wrapper so it can be removed
// TODO: remove this once all package references have been removed as it prevents some overloads being used which increases the amount of cases where a params array is allocated when this function is called
[VisibleToOtherModules]
internal sealed partial class UnityString
{
[Obsolete("UnityString.Format is redundant and will be removed in a future version. Please move to using modern C# string interpolation or string.Format. (UnityUpgradable) -> [netstandard] System.String.Format(*)")]
public static string Format(string fmt, params object[] args)