コード例 #1
0
 public void OnEnable()
 {
     if (base.target == s_LastSelectedPackage)
     {
         this.m_SelectedMaterialInstanceName = s_CachedSelectedMaterialInstanceName;
     }
     else
     {
         s_LastSelectedPackage = base.target as SubstanceArchive;
     }
 }
コード例 #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);
     }
 }
コード例 #3
0
 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;
     }
 }