Table of Contents

Class LunyApplicationServiceBase

Namespace
Luny.Engine.Services
Assembly
Luny.dll
public abstract class LunyApplicationServiceBase : LunyEngineServiceBase, ILunyApplicationService, ILunyEngineService
Inheritance
object
LunyApplicationServiceBase
Implements
Derived
Inherited Members

Constructors

LunyApplicationServiceBase()

protected LunyApplicationServiceBase()

Properties

IsEditor

True if running in the editor.

public abstract bool IsEditor { get; }

Property Value

bool

IsPlaying

True if the application is playing (not paused in editor).

public abstract bool IsPlaying { get; }

Property Value

bool

Methods

Quit(int)

Quits the application with optional exit code.

public abstract void Quit(int exitCode = 0)

Parameters

exitCode int

Exit code (default: 0)