Exemplo n.º 1
0
        public void Save()
        {
            if (dirty && (!Application.isPlaying || UNSettings.instance.UN_Foliage_RUNTIME_SAVECHANGES))
            {
                #if UNITY_EDITOR
                UNMapGenerators.SaveMap(this);
                #endif

                dirty = false;
            }
        }
Exemplo n.º 2
0
        public void Save()
        {
            if (dirty)
            {
                #if UNITY_EDITOR
                UNMapGenerators.SaveMap(this);
                #endif

                dirty = false;
            }
        }