Scripting API

Scripting API

GameMode

Enum in Abyss.Core, from Abyss.Core.

Which of a game's systems run on a world's frames.

public enum GameMode

Remarks

Numbered as the native library numbers them. A system that runs always reads World.GameMode to tell editing from playing.

Values

NameValueDescription
Editing0Open in an editor and not playing: only the plugins marked ExecuteAlwaysAttribute run.
Playing1All of it runs. A game on its own is always playing.
Paused2None of it runs, what always runs included: a game held in Play mode.