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