예제 #1
0
 public void SetTarget(MB3_MeshBakerRoot targ)
 {
     if (addObjectsTab == null)
     {
         addObjectsTab = new MB3_MeshBakerEditorWindowAddObjectsTab();
     }
     addObjectsTab.target = targ;
 }
예제 #2
0
 void OnEnable()
 {
     if (addObjectsTab == null)
     {
         addObjectsTab = new MB3_MeshBakerEditorWindowAddObjectsTab();
     }
     if (analyseSceneTab == null)
     {
         analyseSceneTab = new MB3_MeshBakerEditorWindowAnalyseSceneTab();
     }
     addObjectsTab.OnEnable();
 }