OverridePlatformProvider
A internal class in Alta.PlatformInformation.Runtime, Alta.PlatformInformation. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Internal: holds a platform override for testing. The override only counts in the Unity editor.
- Listed in Other Alta assemblies
Constructors
| Member | What it is |
|---|---|
OverridePlatformProvider() | Creates an OverridePlatformProvider with default values. |
Properties
| Member | What it is |
|---|---|
bool IsRuntimeOverride { get; } | True only in the editor when an override is set. |
PlatformFlags OverrideRuntime { get; private set; } | The overriding platform flags, or 0 for none. |
Methods
| Member | What it is |
|---|---|
void ClearClientRuntimeOverride() | Clears the override. |
void SetClientRuntimeOverride(PlatformFlags platform) | Sets the override platform. |
Used in
Members of other types that take, return or hold a OverridePlatformProvider: