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