示例#1
0
    public bool CheckSpeedrunOnGameFinish()
    {
        //print("playtime: " + playTime);
        //print("speedrunTime: " + speedrunTime*60);

        if (playTime <= speedrunTime * 60)
        {
            sm.AchieveSpeedrun();
            return(true);
        }

        return(false);
    }
示例#2
0
    public void SetSpeedrunAchieved()
    {
        sm.AchieveSpeedrun();

        SetAchievements();
    }