public override void DrawMouseAttachments() { base.DrawMouseAttachments(); if (GetSelectionCompleteAction() == SectionCompleteAction.CommitSelection) { var textColor = new Color(.8f, .8f, .8f); AllowToolUtility.DrawMouseAttachedLabel("StripMine_cursor_autoApply".Translate(), textColor); } }
public override void SelectedOnGUI() { // update def filter and draw filter readout on cursor if (constraintsNeedReindexing) { ReindexSelectionConstraints(); } string label; if (!SelectionLimitAllowsAdditionalThing()) { label = "SelectSimilar_cursor_limit".Translate(); } else if (AnySelectionConstraints) { label = "SelectSimilar_cursor_nowSelecting".Translate(readableConstraintList); } else { label = "SelectSimilar_cursor_needConstraint".Translate(); } AllowToolUtility.DrawMouseAttachedLabel(label); }
public override void DrawMouseAttachments() { base.DrawMouseAttachments(); AllowToolUtility.DrawMouseAttachedLabel("HarvestFullyGrown_cursorTip".Translate()); }