protected void SetStarsEnabled(LevelsMap levelsMap, bool isEnabled)
 {
     levelsMap.SetStarsEnabled(isEnabled);
     if(isEnabled)
         levelsMap.SetStarsType(levelsMap.StarsType);
     EditorUtility.SetDirty(levelsMap);
     SetAllMapLevelsAsDirty();
 }
Example #2
0
 public void OnDestroy()
 {
     _instance = null;
 }
Example #3
0
 public void Awake()
 {
     _instance = this;
 }
Example #4
0
 public void OnDestroy()
 {
     _instance = null;
 }
Example #5
0
 public void Awake()
 {
     _instance = this;
 }