/// <summary>
/// Changes the value without toggling the callback. Use for when changing the value in script
/// </summary>
/// <param name="newValue">New value to be saved to mValue.</param>
public void changeValueNoCallback(float newValue)
{
float val = Mathf.Clamp01(newValue);
if (mValue != val)
{
float before = this.value;
mValue = val;
if (before != this.value)
ForceUpdate();
#if UNITY_EDITOR
if (!Application.isPlaying)
NGUITools.SetDirty(this);
#endif
}
}