Example #1
0
        //----------------
        // LOAD
        //----------------
        void Load(string _path)
        {
            //before loading and building the map we have to delete the old map
            GameObject _container = GameObject.Find("TWC_World");

            Destroy(_container.gameObject);

            TileWorldCreatorSaveLoad.Load(_path, creator);

            creator.firstTimeBuild = true;
            BuildMap();

            Init(false);
        }