How To Disable Accelerometer?

I have a gameobject that uses accelerometer as control input and also touch input. Now the game would be very bad if both controls are active at the same time, so I need to disable and enable controls by a toggle but sadly, the toggle is in settings menu, while the gameobject is in the game/play, so to summarize this:

1 - Disable/Toggle Accelerometer and Touch

2 - Access GameObject from another scene

3 - How to save the state of the toggle(including the state of the controls)

Thank You

You can save/load an integer to the PlayerPrefs area using .GetInt() and .SetInt(), then decide based on that whether to pay attention to the accelerometer or the touch.

Then just make a toggle button on your options screen that flips that setting.