Class NamedColorSetList
Editor list for displaying and editing named color sets.
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 class NamedColorSetList : DataSetList<NamedColor>
Constructors
NamedColorSetList(NamedColorSet)
Declaration
public NamedColorSetList(NamedColorSet namedColorSet)
Parameters
Type | Name | Description |
---|---|---|
NamedColorSet | namedColorSet |
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.MapGraph.NamedColor>.AdditionalFieldsWidth
DefaultName
Gets the default name for a new item.
Declaration
protected override string DefaultName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetListBase<InsaneScatterbrain.MapGraph.NamedColor>.DefaultName
LabelText
Gets the title text displayed in the list's label.
Declaration
protected override string LabelText { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetListBase<InsaneScatterbrain.MapGraph.NamedColor>.LabelText
Methods
DrawAdditionalFields(Rect, string)
Declaration
protected override void DrawAdditionalFields(Rect rect, string id)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | rect | |
string | id |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetListBase<InsaneScatterbrain.MapGraph.NamedColor>.DrawAdditionalFields(UnityEngine.Rect, string)
NameField(Rect, string)
Declaration
protected override string NameField(Rect rect, string itemName)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | rect | |
string | itemName |
Returns
Type | Description |
---|---|
string |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetListBase<InsaneScatterbrain.MapGraph.NamedColor>.NameField(UnityEngine.Rect, string)
New(string)
Declaration
protected override NamedColor New(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Returns
Type | Description |
---|---|
NamedColor |
Overrides
InsaneScatterbrain.MapGraph.Editor.DataSetList<InsaneScatterbrain.MapGraph.NamedColor>.New(string)
Events
OnNew
Declaration
public event Action<string> OnNew
Event Type
Type | Description |
---|---|
System.Action<T><string> |