The Title
property of the InspectorHeader
class represents the title text displayed in the header of an inspector panel within the editor. This property is a string
and can be used to set or retrieve the title of the inspector header.
The Title
property of the InspectorHeader
class represents the title text displayed in the header of an inspector panel within the editor. This property is a string
and can be used to set or retrieve the title of the inspector header.
To use the Title
property, you can directly get or set its value on an instance of the InspectorHeader
class. This property is not static, so it requires an instance of the class to access it.
// Example of setting the Title property InspectorHeader inspectorHeader = new InspectorHeader(); inspectorHeader.Title = "My Custom Inspector"; // Example of getting the Title property string currentTitle = inspectorHeader.Title; // Output: My Custom Inspector