예제 #1
0
        // PRAGMA MARK - Public Interface
        public void Init(string text, IconBorderType borderType, Color textColor)
        {
            textOutlet_.Text = text;

            squareBorder_.SetActive(borderType == IconBorderType.Square);
            circleBorder_.SetActive(borderType == IconBorderType.Circle);

            textOutlet_.Color = textColor;
        }
예제 #2
0
 public ActionIconLetterHandler(ActionType actionType, string text, IconBorderType borderType, Color textColor) : base(actionType)
 {
     text_       = text;
     borderType_ = borderType;
     textColor_  = textColor;
 }
예제 #3
0
 // PRAGMA MARK - Public Interface
 public static void RegisterMapping(InputType inputType, ActionType actionType, string text, IconBorderType borderType, Color textColor)
 {
     ActionIcons.RegisterHandler(inputType, new ActionIconLetterHandler(actionType, text, borderType, textColor));
 }