Scripting API

Application

static class in UnityEngine.Device · UnityEngine.CoreModule

31 of 52 of Unity's membersUnity's documentation
In Tassix

Application as the device reports it (Unity's device simulator swaps these in the editor): the same values here.

Properties 23

static ThreadPriority backgroundLoadingPriority { get; set; }
static string companyName { get; }
static string consoleLogPath { get; }
static string dataPath { get; }
static bool genuine { get; }
static bool genuineCheckAvailable { get; }
static string identifier { get; }
static NetworkReachability internetReachability { get; }
static bool isConsolePlatform { get; }
static bool isEditor { get; }
static bool isFocused { get; }
static bool isMobilePlatform { get; }
static bool isPlaying { get; }
static string persistentDataPath { get; }
static RuntimePlatform platform { get; }
static string productName { get; }
static bool runInBackground { get; set; }
static string streamingAssetsPath { get; }
static SystemLanguage systemLanguage { get; }
static int targetFrameRate { get; set; }
static string temporaryCachePath { get; }
static string unityVersion { get; }
static string version { get; }

Methods 3

static bool CanStreamedLevelBeLoaded(string levelName)
static bool CanStreamedLevelBeLoaded(int levelIndex)
static void OpenURL(string url)
static void Quit()
static void Quit(int exitCode)

Events 5

static event Action<bool> focusChanged
static event UnityEngine.Application.LogCallback logMessageReceived
static event UnityEngine.Application.LogCallback logMessageReceivedThreaded
static event Action quitting
static event Func<bool> wantsToQuit

Not in Tassix yet 21

GetStackTraceLogType HasProLicense HasUserAuthorization IsPlaying RequestAdvertisingIdentifierAsync RequestUserAuthorization SetStackTraceLogType Unload absoluteURL buildGUID cloudProjectId deepLinkActivated exitCancellationToken installMode installerName isBatchMode lowMemory memoryUsageChanged onBeforeRender sandboxType unloading

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.