protected virtual bool DrawWizardGUI()
 {
     if (m_Inspector == null)
     {
         m_Inspector           = CreateInstance <GenericInspector>();
         m_Inspector.hideFlags = HideFlags.HideAndDontSave;
         m_Inspector.InternalSetTargets(new UnityEngine.Object[] { this });
     }
     return(m_Inspector.DrawDefaultInspector());
 }
Пример #2
0
 protected virtual bool DrawWizardGUI()
 {
     if (this.m_Inspector == null)
     {
         this.m_Inspector           = ScriptableObject.CreateInstance <GenericInspector>();
         this.m_Inspector.hideFlags = HideFlags.HideAndDontSave;
         Object[] t = new Object[] { this };
         this.m_Inspector.InternalSetTargets(t);
     }
     return(this.m_Inspector.DrawDefaultInspector());
 }
Пример #3
0
 /// <summary>
 ///   <para>Will be called for drawing contents when the ScriptableWizard needs to update its GUI.</para>
 /// </summary>
 /// <returns>
 ///   <para>Returns true if any property has been modified.</para>
 /// </returns>
 protected virtual bool DrawWizardGUI()
 {
     if ((UnityEngine.Object) this.m_Inspector == (UnityEngine.Object)null)
     {
         this.m_Inspector           = ScriptableObject.CreateInstance <GenericInspector>();
         this.m_Inspector.hideFlags = HideFlags.HideAndDontSave;
         this.m_Inspector.InternalSetTargets(new UnityEngine.Object[1] {
             (UnityEngine.Object) this
         });
     }
     return(this.m_Inspector.DrawDefaultInspector());
 }