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