public void Save() { if (dirty && (!Application.isPlaying || UNSettings.instance.UN_Foliage_RUNTIME_SAVECHANGES)) { #if UNITY_EDITOR UNMapGenerators.SaveMap(this); #endif dirty = false; } }
public void Save() { if (dirty) { #if UNITY_EDITOR UNMapGenerators.SaveMap(this); #endif dirty = false; } }