namespace GlitchyEngine.Core;
///
/// Contains information about the application runtime and methods to control it.
///
public static class Application
{
///
/// Returns when the application is running in the editor (any mode e.g. edit mode or play mode).
///
///
///
///
public static bool IsEditor => ScriptGlue.Application_IsEditor();
///
/// Returns when the application is running in the dedicated player.
///
///
public static bool IsPlayer => ScriptGlue.Application_IsPlayer();
///
/// Returns when the application is running in the editor and the editor is in edit mode.
/// If is (i.e. the application is not running in the editor), will always be .
///
///
///
public static bool IsInEditMode => ScriptGlue.Application_IsInEditMode();
///
/// Returns when the application is running in the editor ( = ) and the editor is in play mode. Or when the application in running in the dedicated player ( = )
///
///
///
///
public static bool IsInPlayMode => ScriptGlue.Application_IsInPlayMode();
}