void Start() { GestureDetector.addListener(this); player = this.GetComponent <Player> (); player.startAutoPilot(); defaultLeftRightAngle = 90.0f; defaultFrontBackAngle = 90.0f; }
// Use this for initialization void Start() { GestureDetector.addListener(this); player = this.GetComponent <Player> (); }