示例#1
0
    // Update is called once per frame
    void Update()
    {
        if (Stats.Skill(Type.Strength).CurrentLevel >= RequieredStrLevel ||
            Stats.Skill(Type.Intelligence).CurrentLevel >= RequiredIntLevel ||
            Stats.Skill(Type.Fitness).CurrentLevel >= RequiredFitLevel ||
            Stats.Skill(Type.Charisma).CurrentLevel >= RequiredChrLevel||
            Stats.Skill(Type.Cooking).CurrentLevel >= RequiredCookingLevel||
            Stats.Skill(Type.Repair).CurrentLevel >= RequiredRepairLevel)

        {
            if (accomplished == false)
            {
              
                    

                Accomplish();
                

               
               
               
            }
        }
        
    }