Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.DAIInspector.AGenericInspectorProperty< T > Class Template Referenceabstract

Detailed Description

Base class for property inspectors using by the Inspector controller.

Inheritance diagram for Doloro.AI.DAIInspector.AGenericInspectorProperty< T >:
Collaboration diagram for Doloro.AI.DAIInspector.AGenericInspectorProperty< T >:

Public Member Functions

override void OnGUI (Rect rect, object source, GUIContent content, FieldInfo info)
 Draws the property for the source. More...
 

Protected Member Functions

abstract T LayoutField (Rect rect, GUIContent content, T value)
 Handler that must provide UI for managing the value. More...
 

Member Function Documentation

◆ LayoutField()

abstract T Doloro.AI.DAIInspector.AGenericInspectorProperty< T >.LayoutField ( Rect  rect,
GUIContent  content,
value 
)
protectedpure virtual

Handler that must provide UI for managing the value.

Parameters
rectRect allowed to property UI draw.
contentFiled label to display.
valueShared value.
Returns
Modified value.

◆ OnGUI()

override void Doloro.AI.DAIInspector.AGenericInspectorProperty< T >.OnGUI ( Rect  rect,
object  source,
GUIContent  content,
FieldInfo  info 
)
virtual

Draws the property for the source.

Parameters
rectRect allowed to property UI draw.
sourceObject using as data source for the field.
contentLabel content.
infoAssembly info.

Implements Doloro.AI.DAIInspector.AInspectorProperty.


The documentation for this class was generated from the following file: