Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        bool cleared = StageAchievement.IsCleared(requiredAchievement, 0);

        GetComponent <StageSelectable>().clickable = cleared;
        lockObject.SetActive(!cleared);
    }
Пример #2
0
 public void StartGameStory()
 {
     StageAchievement.isCreativeMode = false;
     if (!StageAchievement.IsCleared(firstStage, 0))
     {
         StageSelector.Get().LoadStage(firstStage);
         StageSelector.Get().lastWorldMap = new SceneStage("World1");
     }
     else
     {
         StageSelector.Get().LoadStage(selectScene, SceneSelector.SceneChangeType.CHANGE_MOVE);
     }
     TitleEffect(false);
 }