Skip to main content

Interface IPlatform

Namespace: RealityCollective.ServiceFramework.Interfaces

Defines a target platform to run a service on.

public interface IPlatform

Properties​

IsAvailable​

Is this platform currently available?

bool IsAvailable { get; }

Property Value​

bool

IsBuildTargetAvailable​

The this platform build target available?

bool IsBuildTargetAvailable { get; }

Property Value​

bool

Remarks​

Only returns true in editor.

Name​

The human readable name for this platform.

string Name { get; }

Property Value​

string

PlatformOverrides​

The list of platforms that this specific platform will override and make the others return not available.

IPlatform[] PlatformOverrides { get; }

Property Value​

IPlatform[]

ValidBuildTargets​

The array of valid UnityEditor.BuildTargets.

UnityEditor.BuildTarget[] ValidBuildTargets { get; }

Property Value​

UnityEditor.BuildTarget[]