Scripting API
Scripting API
AbyssPluginAttribute
Class in Abyss.Core, from Abyss.Core.
A plugin an assembly names as its game's; see AbyssPluginAttribute<T>.
public abstract class AbyssPluginAttribute : AttributeProperties
Plugin
public abstract Type Plugin { get; }The plugin's type.
ExecutesAlways
public bool ExecutesAlways { get; }Whether the plugin runs while its game is edited, as well as while it plays: whether its type is marked ExecuteAlwaysAttribute.
IsEditorOnly
public bool IsEditorOnly { get; }Whether the plugin is the editor's alone, and never built by the game on its own: whether its type is marked EditorOnlyAttribute.
Methods
In
public static IReadOnlyList<AbyssPluginAttribute> In(Assembly assembly)Every plugin an assembly names: the ones that run always first and the editor's own last, as the editor has them, and otherwise in no particular order.
Parameters
assembly
Create
public abstract IPlugin Create()Makes a fresh one.
