Class Descriptor<TTarget, TDescription>
Inheritance
Descriptor<TTarget, TDescription>
Syntax
public abstract class Descriptor<TTarget, TDescription> : Assigner<TTarget, TDescription>, IAssigner, IDescriptor where TTarget : class where TDescription : class, IDescription, new()
Type Parameters
Name |
Description |
TTarget |
|
TDescription |
|
Constructors
Descriptor(TTarget)
Declaration
protected Descriptor(TTarget target)
Parameters
Type |
Name |
Description |
TTarget |
target |
|
Properties
description
Declaration
public TDescription description { get; }
Property Value
Type |
Description |
TDescription |
|
Methods
Icon()
Declaration
[Assigns]
[RequiresUnityAPI]
public virtual EditorTexture Icon()
Returns
Summary()
Declaration
[Assigns]
public virtual string Summary()
Returns
Title()
Declaration
[Assigns]
public virtual string Title()
Returns
ValueChanged()
Declaration
public override void ValueChanged()
Overrides
Unity.VisualScripting.Assigner<TTarget, TDescription>.ValueChanged()
Explicit Interface Implementations
IDescriptor.description
Declaration
IDescription IDescriptor.description { get; }
Returns
Implements
IDescriptor.target
Declaration
object IDescriptor.target { get; }
Returns
Implements
Extension Methods