Class ParametersList
Editor list for displaying and editing script graph parameters.
Inheritance
object
ParametersList
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.MapGraph.Editor
Syntax
public abstract class ParametersList : DataSetListBase<ScriptGraphParameter>
Constructors
ParametersList(ScriptGraphParameters, ScriptableObject)
Declaration
protected ParametersList(ScriptGraphParameters parameters, ScriptableObject dataObject)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphParameters | parameters | |
UnityEngine.ScriptableObject | dataObject |
Properties
AdditionalFieldsWidth
Gets the width in pixel available for any additional fields.
Declaration
protected override int AdditionalFieldsWidth { get; }
Property Value
Type | Description |
---|---|
int |
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 |
---|---|
System.Collections.Generic.IEnumerable<T><System.Type> |
Methods
DrawAdditionalFields(Rect, string)
Draw any additional item fields.
Declaration
protected override void DrawAdditionalFields(Rect rect, string id)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | rect | The rect. |
string | id | The item ID. |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetListBase<InsaneScatterbrain.ScriptGraph.ScriptGraphParameter>.DrawAdditionalFields(UnityEngine.Rect, string)
GetClassAttributes<TObject, TAttribute>()
Declaration
protected static IEnumerable<TAttribute> GetClassAttributes<TObject, TAttribute>() where TAttribute : Attribute
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><TAttribute> |
Type Parameters
Name | Description |
---|---|
TObject | |
TAttribute |
GetFieldAttributes<TObject, TAttribute>()
Declaration
protected static IEnumerable<TAttribute> GetFieldAttributes<TObject, TAttribute>() where TAttribute : Attribute
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><TAttribute> |
Type Parameters
Name | Description |
---|---|
TObject | |
TAttribute |
SortTypes(IEnumerable<Type>)
Declaration
protected static IEnumerable<Type> SortTypes(IEnumerable<Type> types)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T><System.Type> | types |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><System.Type> |