void OnTriggerEnter(Collider c) { if (c.GetComponent <PlayerMovement>()) { buttonOn = !buttonOn; thruster.OnButtonPress(buttonOn); } }