public override bool Draw(Rect rect) { var result = Widget?.Draw(rect) ?? false; Widget = null; return(result); }
public void Build(PawnModel model) { var widget = HudModel.GetWidget(model, _type, _defName); Widget = IsTargetted(model) ? widget : HudBlank.Get(widget.Height); }
public void Flush() => Widget = null;