// --------------------- public void SyncScroll(int val, InputRig rig) { if (!this.separateAxes) { rig.SetAxisScroll(this.singleAxis, ref this.singleAxisId, (this.reverseSingleAxis ? -val : val)); } }