Example #1
0
 protected virtual void Execute()
 {
     if (wideFieldInput != null)
     {
         WideFieldBuffer.x = wideFieldInput.GetValue();
     }
     TightFieldBuffer.x = tightFieldInputX.GetValue();
     TightFieldBuffer.y = tightFieldInputY.GetValue();
 }
Example #2
0
 protected void ClampValues(InputField inputField, int minValue, int maxValue)
 {
     inputField.SetValue(Mathf.Clamp(inputField.GetValue(), minValue, maxValue));
 }