Description
The Header
property of the ComponentSheet
class provides access to the ComponentSheetHeader
associated with the component sheet. This header typically contains metadata or a title for the component being edited within the GameObjectInspector
.
Usage
To access the Header
property, you must have an instance of the ComponentSheet
class. This property is read-only and provides information about the component sheet's header.
Example
// Assuming 'componentSheet' is an instance of ComponentSheet
Editor.ComponentSheetHeader header = componentSheet.Header;
// Use the header to access its properties or methods
string headerTitle = header.Title; // Example property of ComponentSheetHeader
// Perform operations with the header information
// ...