void Start() { weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); windspeed = weather.wind; Force.x = windspeed; Debug.Log(windspeed); }
// Use this for initialization void Start() { //get WeatherAPI weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); Debug.Log("found sky API"); }
// Use this for initialization // Use this for initialization void Start() { knowsWeather = false; //find the text of this component windText = GameObject.Find("WindText").GetComponent <Text>(); //gets the weather from the API weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }
// Use this for initialization void Start() { weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }
// Use this for initialization // Use this for initialization void Start() { knowsWeather = false; tempText = GameObject.Find("Condition").GetComponent <Text>(); weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }
void Start() { tempText = GameObject.Find("taqi").GetComponent <Text>(); weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }
// Use this for initialization void Start() { weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); Debug.Log("found chime API"); }
// Use this for initialization void Start() { weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); lt = GetComponent <Light>(); }
void Awake() { sky = WeatherAPI.FindObjectOfType <SkyAPI>(); chimes = WeatherAPI.FindObjectOfType <ChimeController>(); }
// Use this for initialization // Use this for initialization void Start() { knowsWeather = false; tempText = GameObject.Find("MinMaxCelcius").GetComponent <Text>(); weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }
// Use this for initialization // Use this for initialization void Start() { knowsWeather = false; cityText = GameObject.Find("City").GetComponent <Text>(); weather = WeatherAPI.FindObjectOfType <WeatherAPI>(); }