Class MacroDescriptor<TMacro, TMacroDescription>
Inheritance
Assigner<TMacro, TMacroDescription>
Descriptor<TMacro, TMacroDescription>
MacroDescriptor<TMacro, TMacroDescription>
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Descriptor(typeof(IMacro))]
public class MacroDescriptor<TMacro, TMacroDescription> : Descriptor<TMacro, TMacroDescription>, IAssigner, IDescriptor where TMacro : Object, IMacro where TMacroDescription : class, IMacroDescription, new()
Type Parameters
Name | Description |
---|---|
TMacro | |
TMacroDescription |
Constructors
MacroDescriptor(TMacro)
Declaration
protected MacroDescriptor(TMacro target)
Parameters
Type | Name | Description |
---|---|---|
TMacro | target |
Properties
macro
Declaration
protected TMacro macro { get; }
Property Value
Type | Description |
---|---|
TMacro |
Methods
Icon()
Declaration
[Assigns]
[RequiresUnityAPI]
public override EditorTexture Icon()
Returns
Type | Description |
---|---|
EditorTexture |
Overrides
Unity.VisualScripting.Descriptor<TMacro, TMacroDescription>.Icon()
Summary()
Declaration
[Assigns]
[RequiresUnityAPI]
public override string Summary()
Returns
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.Descriptor<TMacro, TMacroDescription>.Summary()
Title()
Declaration
[Assigns(cache = false)]
[RequiresUnityAPI]
public override string Title()
Returns
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.Descriptor<TMacro, TMacroDescription>.Title()