Example #1
0
	// Use this for initialization
	void Start () {
		PlaneXML = new PlaneXMLv1 ();
		c = new NetworkCredential("*****@*****.**", "B8955E7C-C03F-4CF9-9B8D-C38C50FDA67A");
		PlaneXML.Credentials = c;
		flight = PlaneXML.FlightInfo(flightID, true, true);
		StartCoroutine("refresh");
	}
Example #2
0
	public IEnumerator Starts () {
		PlaneXML = new PlaneXMLv1 ();
		c = new NetworkCredential("*****@*****.**", "B8955E7C-C03F-4CF9-9B8D-C38C50FDA67A");
		PlaneXML.Credentials = c;
		flight = PlaneXML.FlightInfo(flightID, true, true);
		print ("OK");
		while(true) {
			StartCoroutine("refresh");
			yield return new WaitForSeconds(2);
		}
	}