forked from Unity-Technologies/giles
-
Notifications
You must be signed in to change notification settings - Fork 6
Type Inspector
FAL2009 edited this page Sep 18, 2019
·
3 revisions
Name: pb_TypeInspector
Namespace: GILES.Interface
Base class from which type inspectors should inherit. Type inspectors may be implemented one of two ways:
Using reflection, or using delegates. The usage depends on the Initialize() constructor used. If initialized with an object and PropertyInfo or FieldInfo parameter, the value will be updated and set using reflection. If initialized with get/set delegates, the type inspector will query updateValue to get the stored value, and on a change via GUI will call onValueChanged to update the stored value.
Original version by Unity Copyright © 2020 Unity Technologies