// Use this for initialization void Start() { accelero = gameObject.GetComponent <Accelerometer>(); behave = gameObject.GetComponent <FlightBehaviour>(); rigid = gameObject.GetComponent <Rigidbody>(); }
// Use this for initialization void Start() { behave = gameObject.GetComponent <FlightBehaviour>(); }