Bearbeiten

Share via


PlatformUtility.IsPlatformSupported Method

Definition

Overloads

IsPlatformSupported(SupportedPlatforms)
IsPlatformSupported(BuildTarget, SupportedPlatforms)
Obsolete.
IsPlatformSupported(RuntimePlatform, SupportedPlatforms)
Obsolete.

IsPlatformSupported(SupportedPlatforms)

public:
 static bool IsPlatformSupported(Microsoft::MixedReality::Toolkit::Utilities::SupportedPlatforms platforms);
public static bool IsPlatformSupported (Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms platforms);
static member IsPlatformSupported : Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms -> bool
Public Function IsPlatformSupported (platforms As SupportedPlatforms) As Boolean

Parameters

platforms
SupportedPlatforms

Returns

Applies to

IsPlatformSupported(BuildTarget, SupportedPlatforms)

Caution

Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsPlatformSupported(UnityEditor::BuildTarget editorBuildTarget, Microsoft::MixedReality::Toolkit::Utilities::SupportedPlatforms platforms);
[System.Obsolete("Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.")]
public static bool IsPlatformSupported (this UnityEditor.BuildTarget editorBuildTarget, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms platforms);
[<System.Obsolete("Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.")>]
static member IsPlatformSupported : UnityEditor.BuildTarget * Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms -> bool
<Extension()>
Public Function IsPlatformSupported (editorBuildTarget As BuildTarget, platforms As SupportedPlatforms) As Boolean

Parameters

editorBuildTarget
UnityEditor.BuildTarget
platforms
SupportedPlatforms

Returns

Attributes

Applies to

IsPlatformSupported(RuntimePlatform, SupportedPlatforms)

Caution

Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsPlatformSupported(UnityEngine::RuntimePlatform runtimePlatform, Microsoft::MixedReality::Toolkit::Utilities::SupportedPlatforms platforms);
[System.Obsolete("Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.")]
public static bool IsPlatformSupported (this UnityEngine.RuntimePlatform runtimePlatform, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms platforms);
[<System.Obsolete("Use PlatformUtility.IsPlatformSupported(SupportedPlatforms platforms) instead, which accounts for both the in-editor and runtime case.")>]
static member IsPlatformSupported : UnityEngine.RuntimePlatform * Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms -> bool
<Extension()>
Public Function IsPlatformSupported (runtimePlatform As RuntimePlatform, platforms As SupportedPlatforms) As Boolean

Parameters

runtimePlatform
UnityEngine.RuntimePlatform
platforms
SupportedPlatforms

Returns

Attributes

Applies to