Adds logic and handling for Inspected SimObjects to be able to inject new InspectorGroups and InspectorFields when being inspected for editing.

Allows for expanded editing capabilities of existing classes without needing to add static fields to classes
This commit is contained in:
Areloch 2023-03-04 19:04:44 -06:00
parent 7fa2e72d5f
commit 3991019912
6 changed files with 154 additions and 2 deletions

View file

@ -653,7 +653,7 @@ class SimObject: public ConsoleObject, public TamlCallbacks
virtual void onEditorDisable(){};
/// Called when the object is inspected via a GuiInspector control
virtual void onInspect(GuiInspector*) {};
virtual void onInspect(GuiInspector*);
/// @}