Class IUpdateInspectorsMethods
Namespace: UnityEditor.Experimental.EditorVR.Workspaces
Syntax
public static class IUpdateInspectorsMethods
Methods
UpdateInspectors(IUpdateInspectors, GameObject, Boolean)
Update all inspectors or inspectors of the specified object
Declaration
public static void UpdateInspectors(this IUpdateInspectors obj, GameObject go = null, bool fullRebuild = false)
Parameters
| Type | Name | Description |
|---|---|---|
| IUpdateInspectors | obj | |
| GameObject | go | (Optional) Only update inspectors on this object. If null, update all inspectors |
| Boolean | fullRebuild | (Optional) Whether to rebuild the whole inspector (for added/removed components) |