void Awake() { if (instance != null && $"StoryGoalsListener already created!".logError()) { Destroy(this); return; } instance = this; slHelper = new SaveLoadHelper(null, onSave); }
void OnDestroy() => instance = null;
void Awake() { if (instance != null && $"StoryGoalsListener already created!".logError()) { Destroy(this); return; } instance = this; slHelper = new SaveLoadHelper(null, onSave); }
void OnDestroy() => instance = null;