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