Struct InspectorContext<T>
Context of the inspector that give access to the data.
Syntax
public struct InspectorContext<T>
Type Parameters
Name |
Description |
T |
The type of the value being inspected.
|
Fields
IsDelayed
Declaration
public readonly bool IsDelayed
Field Value
Name
Declaration
public readonly string Name
Field Value
PrettyName
Declaration
public readonly string PrettyName
Field Value
Tooltip
Declaration
public readonly string Tooltip
Field Value
VisitLevel
Declaration
public readonly InspectorVisitLevel VisitLevel
Field Value
Properties
Attributes
Declaration
public IPropertyAttributeCollection Attributes { get; }
Property Value
Data
Declaration
public T Data { get; set; }
Property Value
Methods
DoDefaultGui(VisualElement, String)
Allows to revert to the default drawing handler for a specific field.
Declaration
public void DoDefaultGui(VisualElement parent, string name)
Parameters
Type |
Name |
Description |
VisualElement |
parent |
The parent element.
|
String |
name |
The name of the field that needs to be drawn.
|
NotifyChanged()
Declaration
public void NotifyChanged()