Esempio n. 1
0
        void CreatePlaceholder()
        {
            Grid2DConfig configComponent = grid.gameObject.AddComponent <Grid2DConfig> ();

            configComponent.textures = grid.textures;
            configComponent.config   = grid.CellGetConfigurationData();
            configComponent.enabled  = false;
        }