Color Color { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Color property of the InspectorHeader class in the Editor namespace is used to get or set the color of the inspector header. This property allows customization of the header's appearance by specifying a Color value.

Usage

To use the Color property, you need to have an instance of the InspectorHeader class. You can then get or set the color of the header as follows:

  • To set the color, assign a Color value to the property.
  • To retrieve the current color, simply access the property.

Example

// Example of setting the Color property
InspectorHeader header = new InspectorHeader();
header.Color = new Color(255, 0, 0); // Sets the header color to red

// Example of getting the Color property
Color currentColor = header.Color;
// Use currentColor as needed