protected void SetStarsEnabled(LevelsMap levelsMap, bool isEnabled) { levelsMap.SetStarsEnabled(isEnabled); if(isEnabled) levelsMap.SetStarsType(levelsMap.StarsType); EditorUtility.SetDirty(levelsMap); SetAllMapLevelsAsDirty(); }
public void OnDestroy() { _instance = null; }
public void Awake() { _instance = this; }
public void OnDestroy() { _instance = null; }
public void Awake() { _instance = this; }