CharacterGenerator.DisplaySkill C# (CSharp) Method

DisplaySkill() private method

private DisplaySkill ( int index ) : void
index int
return void
    private void DisplaySkill(int index)
    {
        int y = StatStartingPoss + (index * LineHeight);
        int xAnchor = Offset + StatLabelWidth + Offset + BaseValueLabelWidth
            + ButtonWidth + ButtonHeight;

        GUI.Label(new Rect(xAnchor + Offset, y, StatLabelWidth, LineHeight),
            ((SkillName)index).ToString());

        GUI.Label(new Rect(xAnchor + Offset + StatLabelWidth, y,
            BaseValueLabelWidth, LineHeight), toon.GetSkill(index).AdjustedBaseValue.ToString());
    }