LocalPlatformProvider
A internal class in Alta.PlatformInformation.Runtime, Alta.PlatformInformation. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Internal: works out which platform the game is running on. In this build the Quest, Pico and Android preview checks always return false.
- Listed in Other Alta assemblies
Constructors
| Member | What it is |
|---|---|
LocalPlatformProvider() | Creates a LocalPlatformProvider with default values. |
Methods
| Member | What it is |
|---|---|
PlatformFlags GetRuntimePlatform() | Returns the platform flag: Android, Linux, or Windows for anything else. |
5 private and internal methods
| Member | What it is |
|---|---|
private PlatformFlags GetAndroidSubPlatform() | Returns Quest, Pico or Android; always Android in this build. |
private PlatformFlags GetEditorBuildTargetPlatform() | Throws in this build. |
private bool IsAndroidPreview() | Always false in this build. |
private bool IsPico() | Always false in this build. |
private bool IsQuest() | Always false in this build. |
Used in
Members of other types that take, return or hold a LocalPlatformProvider: