private void OnAddProduct()
        {
            string            identifier = _identifierTextField.GetCurrentText();
            HMSIAPProductType type       = (HMSIAPProductType)_typeDropdown.GetCurrentValue();

            _productManipulator.AddProduct(identifier, type);
            _identifierTextField.ClearInput();
        }
Ejemplo n.º 2
0
        private void OnAddLeaderboard()
        {
            var name = _leaderboardNameTextField.GetCurrentText();
            var id   = _leaderboardIdTextField.GetCurrentText();

            _leaderboardManipulator.AddLeaderboard(name, id);
            _leaderboardIdTextField.ClearInput();
            _leaderboardNameTextField.ClearInput();
        }
        private void OnAddDefaultValuePressed()
        {
            var keyName  = _keyNameTextField.GetCurrentText();
            var keyValue = _keyValueTextField.GetCurrentText();

            _defaultValueManipulator.AddDefaultValue(keyName, keyValue);
            _keyNameTextField.ClearInput();
            _keyValueTextField.ClearInput();
        }
Ejemplo n.º 4
0
        private void OnAddAchievement()
        {
            var name = _achievementNameTextField.GetCurrentText();
            var id   = _achievementIdTextField.GetCurrentText();

            _achievementsManipulator.AddAchievement(name, id);
            _achievementNameTextField.ClearInput();
            _achievementIdTextField.ClearInput();
        }
 public void ClearInput()
 {
     _textField.ClearInput();
 }