VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.UEditor.Core.AVR_WizardHook_DropdownChoiceToggle< Wiz, Mod >.on_create_wizard ( GameObject  targetObject)
inlinevirtual

Reimplemented from AVR.UEditor.Core.AVR_WizardHook< Wiz >.

Definition at line 221 of file AVR_HookableWizard.cs.

222  {
223  _module = targetObject.GetComponentsInChildren<Mod>();
224  moduleTypeList = options.Select(t => t.choiceName).ToArray();
225 
226  module = false;
227 
228  foreach(var entry in options) {
229  if(_module.Any(entry.filter)) {
230  _prevselected = _selected = entry;
231  module = true;
232  break;
233  }
234  }
235 
237  }
static Dictionary< string, bool > flags