예제 #1
0
 public static HudSelector FromSelectorModel(ISelectorModel model, TextStyle textStyle) => model == null ? null : new HudSelector(model, textStyle);
예제 #2
0
 private HudSelector(ISelectorModel model, TextStyle textStyle) : this(model.Label, model.Tooltip, textStyle, model.Color, model.OnClick, model.OnHover)
 {
 }