예제 #1
0
    // "Add" type stat
    private static int CalculateStarCount()
    {
        int r = SaveGame.numStarsAcquired;

        if (r > 0)
        {
            KongregateAPI.ReportStarCount(r);
            GameObject.FindObjectOfType <GameManager>().gameService.ReportStarCount(r);
        }
        return(r);
    }