Exemple #1
0
 void Start()
 {
     weather   = WeatherAPI.FindObjectOfType <WeatherAPI>();
     windspeed = weather.wind;
     Force.x   = windspeed;
     Debug.Log(windspeed);
 }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        //get WeatherAPI
        weather = WeatherAPI.FindObjectOfType <WeatherAPI>();

        Debug.Log("found sky API");
    }
Exemple #3
0
 // 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>();
 }
Exemple #4
0
 // 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>();
 }
Exemple #6
0
 void Start()
 {
     tempText = GameObject.Find("taqi").GetComponent <Text>();
     weather  = WeatherAPI.FindObjectOfType <WeatherAPI>();
 }
Exemple #7
0
    // 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>();
 }
Exemple #9
0
 void Awake()
 {
     sky    = WeatherAPI.FindObjectOfType <SkyAPI>();
     chimes = WeatherAPI.FindObjectOfType <ChimeController>();
 }
Exemple #10
0
 // Use this for initialization
 // Use this for initialization
 void Start()
 {
     knowsWeather = false;
     tempText     = GameObject.Find("MinMaxCelcius").GetComponent <Text>();
     weather      = WeatherAPI.FindObjectOfType <WeatherAPI>();
 }
Exemple #11
0
 // Use this for initialization
 // Use this for initialization
 void Start()
 {
     knowsWeather = false;
     cityText     = GameObject.Find("City").GetComponent <Text>();
     weather      = WeatherAPI.FindObjectOfType <WeatherAPI>();
 }