VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.UEditor.Core.AVR_HookableWizard< T >.OnGUI ( )
inlineprivate

Definition at line 68 of file AVR_HookableWizard.cs.

69  {
70  EditorGUILayout.BeginVertical();
71 
72  foreach(AVR_WizardHook<T> o in registered_hooks) {
73  EditorGUILayout.BeginVertical();
74 
75  o.embed_GUI();
76 
77  EditorGUILayout.EndVertical();
78  EditorGUILayout.Space();
79  }
80 
81  EditorGUILayout.EndVertical();
82 
83  if(GUILayout.Button("Update")) {
84  foreach (AVR_WizardHook<T> o in registered_hooks) {
85  o.on_submit(targetObject);
86  }
87  this.Close();
88  }
89 
90  }
static List< AVR_WizardHook< T > > registered_hooks