Exemple #1
0
 public void InspectVolume()
 {
     if (inspectWindow != null)
     {
         inspectWindow.Close();
         Destroy(inspectWindow);
     }
     inspectWindow = gameObject.AddComponent <VolumeInspectWindow>();
     inspectWindow.AttachTo(this);
 }
Exemple #2
0
 public void CloseInspectWindow()
 {
     inspectWindow.Close();
     Destroy(inspectWindow);
     inspectWindow = null;
 }