Interface IHasEditorColor
Interface that allows an object to have a color associated with it in the editor. Extension methods can set the initial color and index from the current ColorPreset.
Namespace: Unity.MARS.Authoring
Syntax
public interface IHasEditorColor
Properties
color
The color used to identify this object
Declaration
Color color { get; set; }
Property Value
Type | Description |
---|---|
Color |
colorIndex
The index in the color list that this color is using. If the color has been modified, it should be -1.
Declaration
int colorIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |