Example #1
0
        public void Draw()
        {
            var currentViewRect = Find.CameraDriver.CurrentViewRect;

            foreach (var label in _labelHolder.GetLabels())
            {
                if (!currentViewRect.Contains(label.LabelPlacementData.Position))
                {
                    continue;
                }

                DrawLabel(label);
            }
        }