Class ParametersList
Editor list for displaying and editing script graph parameters.
Inheritance
ParametersList
Syntax
public abstract class ParametersList : DataSetListBase<ScriptGraphParameter>
Constructors
ParametersList(ScriptGraphParameters, ScriptableObject)
Declaration
protected ParametersList(ScriptGraphParameters parameters, ScriptableObject dataObject)
Parameters
Properties
AdditionalFieldsWidth
Gets the width in pixel available for any additional fields.
Declaration
protected override int AdditionalFieldsWidth { get; }
Property Value
Overrides
Types
Gets the types available to create parameters for.
Declaration
protected abstract IEnumerable<Type> Types { get; }
Property Value
Methods
DrawAdditionalFields(Rect, string)
Draw any additional item fields.
Declaration
protected override void DrawAdditionalFields(Rect rect, string id)
Parameters
Type |
Name |
Description |
Rect |
rect |
The rect.
|
string |
id |
The item ID.
|
Overrides
GetClassAttributes<TObject, TAttribute>()
Declaration
protected static IEnumerable<TAttribute> GetClassAttributes<TObject, TAttribute>() where TAttribute : Attribute
Returns
Type Parameters
Name |
Description |
TObject |
|
TAttribute |
|
GetFieldAttributes<TObject, TAttribute>()
Declaration
protected static IEnumerable<TAttribute> GetFieldAttributes<TObject, TAttribute>() where TAttribute : Attribute
Returns
Type Parameters
Name |
Description |
TObject |
|
TAttribute |
|
SortTypes(IEnumerable<Type>)
Declaration
protected static IEnumerable<Type> SortTypes(IEnumerable<Type> types)
Parameters
Returns