Example #1
0
        // Creates a wizard.
        public static VRMExporterWizard DisplayWizard()
        {
            VRMExporterWizard wizard = CreateInstance <VRMExporterWizard>();

            wizard.titleContent = new GUIContent("VRM Exporter");
            if (wizard != null)
            {
                wizard.InvokeWizardUpdate();
                wizard.ShowUtility();
            }
            return(wizard);
        }
Example #2
0
        // Creates a wizard.
        public static VRMExporterWizard DisplayWizard(string title, Type klass, [uei.DefaultValueAttribute("\"Create\"")] string createButtonName, [uei.DefaultValueAttribute("\"\"")] string otherButtonName)
        {
            VRMExporterWizard wizard = CreateInstance(klass) as VRMExporterWizard;

            wizard.m_CreateButton = createButtonName;
            wizard.m_OtherButton  = otherButtonName;
            wizard.titleContent   = new GUIContent(title);
            if (wizard != null)
            {
                wizard.InvokeWizardUpdate();
                wizard.ShowUtility();
            }
            return(wizard);
        }