Class RuntimePlatformExtensions
Extension methods for the RuntimePlatform enum.
Inherited Members
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public static class RuntimePlatformExtensions
Methods
ToUniqueString(RuntimePlatform, Architecture)
Converts the RuntimePlatform to a unique string value.
Declaration
public static string ToUniqueString(this RuntimePlatform platform, Architecture architecture)
Parameters
Type | Name | Description |
---|---|---|
RuntimePlatform | platform | The RuntimePlatform to convert. |
Architecture | architecture | The architecture of the platform. |
Returns
Type | Description |
---|---|
string | A unique string value for the RuntimePlatform. |
Remarks
This method is required to generate backward compatible unique string values for duplicated RuntimePlatform enum values.