Example #1
0
        public override void Initialize()
        {
            base.Initialize();

            input.Initialize();
            input.OnValueChanged   += OnValueChanged;
            input.DefaultEmptyValue = "0";
        }
Example #2
0
        public override void Initialize()
        {
            base.Initialize();

            sizeInput.Initialize();
            sizeInput.OnValueChanged   += OnSizeInputBeingChanged;
            sizeInput.OnValueSubmitted += OnSizeChanged;
            sizeInput.DefaultEmptyValue = "0";
        }
        public override void Initialize()
        {
            base.Initialize();

            input.Initialize();
            input.OnValueChanged   += OnValueChanged;
            input.OnValueSubmitted += OnValueSubmitted;
            input.DefaultEmptyValue = string.Empty;
        }
Example #4
0
        protected override void Awake()
        {
            base.Awake();

            rInput.Initialize();
            gInput.Initialize();
            bInput.Initialize();
            aInput.Initialize();

            cancelButton.onClick.AddListener(Cancel);
            okButton.onClick.AddListener(Close);
        }
Example #5
0
        public override void Initialize()
        {
            base.Initialize();

            inputX.Initialize();
            inputY.Initialize();
            inputW.Initialize();
            inputH.Initialize();

            inputX.OnValueChanged += OnValueChanged;
            inputY.OnValueChanged += OnValueChanged;
            inputW.OnValueChanged += OnValueChanged;
            inputH.OnValueChanged += OnValueChanged;

            inputX.DefaultEmptyValue = "0";
            inputY.DefaultEmptyValue = "0";
            inputW.DefaultEmptyValue = "0";
            inputH.DefaultEmptyValue = "0";
        }