// Use this for initialization
    void Start()
    {
        accelero = gameObject.GetComponent <Accelerometer>();

        behave = gameObject.GetComponent <FlightBehaviour>();

        rigid = gameObject.GetComponent <Rigidbody>();
    }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     behave = gameObject.GetComponent <FlightBehaviour>();
 }