// Use this for initialization void Start() { tankDriver = GetComponent <TankDriver>(); }
public void ToggeleManualInput(bool state) { tankDriver = FindObjectOfType <TankDriver>(); tankDriver.ManualInput = !tankDriver.ManualInput; }
// Use this for initialization void Start() { tankDriver = GetComponent <TankDriver>(); }
public void ToggeleManualInput(bool state) { tankDriver = FindObjectOfType <TankDriver>(); tankDriver.ManualInput = !tankDriver.ManualInput; }