Tanoda
GILES.Interface.pb_Inspector Class Reference
Inheritance diagram for GILES.Interface.pb_Inspector:
GILES.pb_MonoBehaviourSingleton< pb_Inspector >

Public Member Functions

void RebuildInspector (GameObject go)
 
void ToggleInspector (bool show)
 

Static Public Member Functions

static void AddIgnoredType (System.Type type)
 
static void RemoveIgnoredType (System.Type type)
 

Public Attributes

GameObject inspectorScrollPanel
 
bool showUnityComponents = false
 By default don't show the Unity components. More...
 

Additional Inherited Members

- Protected Member Functions inherited from GILES.pb_MonoBehaviourSingleton< pb_Inspector >
virtual void Initialize ()
 
virtual void Awake ()
 
- Properties inherited from GILES.pb_MonoBehaviourSingleton< pb_Inspector >
virtual bool dontDestroyOnLoad [get]
 Override to maintain an instance of this object across level loads. More...
 
static T instance [get]
 
static T nullableInstance [get]
 

Detailed Description

A generic gameobject inspector, with support for editing basic types.

Definition at line 15 of file pb_Inspector.cs.

Member Function Documentation

◆ AddIgnoredType()

static void GILES.Interface.pb_Inspector.AddIgnoredType ( System.Type  type)
static

Add a type to be ignored by the pb_Inspector.

Definition at line 36 of file pb_Inspector.cs.

◆ RebuildInspector()

void GILES.Interface.pb_Inspector.RebuildInspector ( GameObject  go)

Definition at line 75 of file pb_Inspector.cs.

◆ RemoveIgnoredType()

static void GILES.Interface.pb_Inspector.RemoveIgnoredType ( System.Type  type)
static

Remove a previously ignored type from the collection of types to skip when building an inspector.

Definition at line 44 of file pb_Inspector.cs.

◆ ToggleInspector()

void GILES.Interface.pb_Inspector.ToggleInspector ( bool  show)

Callback for visibility toggle.

Definition at line 142 of file pb_Inspector.cs.

Member Data Documentation

◆ inspectorScrollPanel

GameObject GILES.Interface.pb_Inspector.inspectorScrollPanel

A reference to the inspector GUI scroll panel. All new UI elements will be instantiated as children of this GameObject.

Definition at line 19 of file pb_Inspector.cs.

◆ showUnityComponents

bool GILES.Interface.pb_Inspector.showUnityComponents = false

By default don't show the Unity components.

Definition at line 25 of file pb_Inspector.cs.


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