Example #1
0
    public void SavingScore(int level, int star)
    {
        SaveDataController saveController = gameObject.GetComponent <SaveDataController>();

        saveController.SaveStarResult(1, level, star);
        saveController.unlockStage(1, level + 1);
    }