Exemple #1
0
 protected static void ManageTextureAtlas()
 {
     if (_window == null)
     {
         _window = (TextureAtlas_Manage_Window)GetWindow((typeof(TextureAtlas_Manage_Window)));
         if (_window != null)
         {
             _window.title = "Texture Atlas";
             _window.autoRepaintOnSceneChange = true;
         }
     }
 }
Exemple #2
0
 protected void OnDestroy()
 {
     _window = null;
 }