예제 #1
0
 private void DrawCounts(Rect rect)
 {
     Text.Anchor = TextAnchor.UpperRight;
     Text.Font   = GameFont.Tiny;
     GUI.color   = Color.grey;
     Widgets.Label(rect, "AnimalTab.XofYShown".Translate(Pawns.Count(), AllPawns.Count()));
     GUI.color   = Color.white;
     Text.Font   = GameFont.Medium;
     Text.Anchor = TextAnchor.UpperLeft;
 }