Class RatatuiTerminalAppAttribute
- Namespace
- RatatuiUnity
Marker attribute that identifies a class as a terminal app.
This attribute does NOT trigger automatic discovery — each app must explicitly
call Register<T>(string, string, int) from a
[RuntimeInitializeOnLoadMethod(AfterAssembliesLoaded)] static method.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class RatatuiTerminalAppAttribute : Attribute
- Inheritance
-
RatatuiTerminalAppAttribute
- Inherited Members
Constructors
RatatuiTerminalAppAttribute(string)
public RatatuiTerminalAppAttribute(string id)
Parameters
idstring
Properties
DisplayName
Human-readable label shown in app lists.
public string DisplayName { get; set; }
Property Value
Id
Unique app identifier used by the static open/close API.
public string Id { get; }
Property Value
Order
Sort order in the app registry. Lower values appear first.
public int Order { get; set; }