Class ApplicationLifecycle
- Namespace
- Homa.Sdk.Foundation
- Assembly
- Homa.Sdk.Foundation.dll
Provides thread-safe access to Unity application lifecycle-related properties.
public static class ApplicationLifecycle
- Inheritance
-
ApplicationLifecycle
- Inherited Members
Properties
IsPlaying
Returns true when called in any kind of built Player, or when called in the Editor in Play mode. Similar to https://docs.unity3d.com/ScriptReference/Application-isPlaying.html.
public static bool IsPlaying { get; }
Property Value
Remarks
Value is undefined or may differ compared to UnityEngine.Application.isPlaying in specific scenarios: ScriptableObject OnEnable and OnDisable, RuntimeInitializeOnLoadMethod and EditorApplication.playModeStateChanged.