public void OnEnable()
 {
     if (base.target == s_LastSelectedPackage)
     {
         this.m_SelectedMaterialInstanceName = s_CachedSelectedMaterialInstanceName;
     }
     else
     {
         s_LastSelectedPackage = base.target as SubstanceArchive;
     }
 }
Beispiel #2
0
 public void OnEnable()
 {
     if (base.target == SubstanceImporterInspector.s_LastSelectedPackage)
     {
         this.m_SelectedMaterialInstanceName = SubstanceImporterInspector.s_CachedSelectedMaterialInstanceName;
     }
     else
     {
         SubstanceImporterInspector.s_LastSelectedPackage = (base.target as SubstanceArchive);
     }
 }
 public void OnEnable()
 {
     if (this.target == (UnityEngine.Object)SubstanceImporterInspector.s_LastSelectedPackage)
     {
         this.m_SelectedMaterialInstanceName = SubstanceImporterInspector.s_CachedSelectedMaterialInstanceName;
     }
     else
     {
         SubstanceImporterInspector.s_LastSelectedPackage = this.target as SubstanceArchive;
     }
 }