Exemplo n.º 1
0
 protected static void CreateTextureAtlasFromPrefab()
 {
     if (_window == null)
     {
         _window = (TextureAtlas_FromPrefabs_Window)GetWindow((typeof(TextureAtlas_FromPrefabs_Window)));
         if (_window != null)
         {
             _window.title = "Texture Atlas";
             _window.autoRepaintOnSceneChange = true;
         }
     }
 }
Exemplo n.º 2
0
 protected void OnDestroy()
 {
     _window = null;
 }