Skills.TrySkill C# (CSharp) Method

TrySkill() public method

public TrySkill ( int SkillToUse, int CheckValue ) : bool
SkillToUse int
CheckValue int
return bool
    public bool TrySkill(int SkillToUse, int CheckValue)
    {
        //Prototype skill check code
        //Debug.Log ("Skill check Skill :" + Skillnames[SkillToUse] + " (" +GetSkill(SkillToUse) +") vs " + CheckValue);
        return (CheckValue<GetSkill(SkillToUse));
    }