Interface ILunyApplicationService
Engine-agnostic application control.
public interface ILunyApplicationService : ILunyEngineService
Expand Details ...
Remarks
IMPORTANT: Implementations must inherit from both the ILunyService interface and its corresponding LunyServiceBase class!
Properties
IsEditor
True if running in the editor.
Boolean IsEditor { get; }
Property Value
- Boolean
IsPlaying
True if the application is playing (not paused in editor).
Boolean IsPlaying { get; }
Property Value
- Boolean
Methods
Quit(Int32)
Quits the application with optional exit code.
void Quit(Int32 exitCode = 0)
Parameters
| Type | Name | Description |
|---|---|---|
exitCode |
Exit code (default: 0) |