void Start() { gameManager = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager> (); scotterRigidbody = GetComponent <Rigidbody> (); scotterRigidbody.centerOfMass = new Vector3(0f, -0.05f, 0f); scotter = GetComponent <Scooter> (); scotter.setRigidbody(scotterRigidbody); scotter.setFrontWheel(frontWheel); speedButton = GameObject.FindGameObjectWithTag("SpeedButton"); if (speedButton != null) { speedButton.SetActive(false); } }