示例#1
0
    private void appearMedal(int score)
    {
        if (score < 10)
        {
            return;
        }

        if (score >= 10 && score < 20)
        {
            medal = medalList [0];
        }
        else if (score >= 20 && score < 30)
        {
            medal = medalList [1];
        }
        else if (score >= 30 && score < 40)
        {
            medal = medalList [2];
        }
        else if (score >= 40)
        {
            medal = medalList [3];
        }

        defaultMedalObj.sprite  = medal;
        defaultMedalObj.enabled = true;

        createManager.StartCreateKirakira();
    }