Exemplo n.º 1
0
 private void Awake()
 {
     aircraft    = GetComponent <PlayerAircraftMovement>();
     aircraftRig = GetComponent <Rigidbody>();
     engineSound = GetComponent <AudioSource>();
 }
Exemplo n.º 2
0
 private void Start()
 {
     aircraftMovement = aircraft.GetComponent <PlayerAircraftMovement>();
     aircraftRig      = aircraft.GetComponent <Rigidbody>();
 }