コード例 #1
0
        internal virtual void DoModIssuesIcon(Rect canvas)
        {
            if (!RelevantIssues.Any())
            {
                return;
            }

            var worst = Requirements.MaxBy(d => d.Severity);

            GUI.color = worst.Color;
            GUI.DrawTexture(canvas, Resources.Warning);
            GUI.color = Color.white;
            TooltipHandler.TipRegion(canvas, RelevantIssuesString);
        }