Class HsmInputAttribute
- Namespace
- MarymoorStudios.Core.Fsm
- Assembly
- MarymoorStudios.Core.Fsm.dll
Defines an input.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Interface)]
public sealed class HsmInputAttribute : Attribute
- Inheritance
-
HsmInputAttribute
- Inherited Members
Constructors
HsmInputAttribute(string)
Constructor.
public HsmInputAttribute(string name = "")
Parameters
Fields
DefaultInputsName
public const string DefaultInputsName = "Inputs"
Field Value
Properties
Name
The name of the subclass of the data class to emit the generated input constants into.
public string Name { get; set; }
Property Value
Remarks
This can be used to either rename the subclass or support multiple HSMs in the same parent.