示例#1
0
        void ExportGridConfig()
        {
            TGSConfig configComponent = tgs.gameObject.AddComponent <TGSConfig> ();

            configComponent.SaveConfiguration(tgs);
            configComponent.enabled = false;
        }
示例#2
0
        void CreatePlaceholder()
        {
            TGSConfig configComponent = tgs.gameObject.AddComponent <TGSConfig> ();

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