Inheritance: MonoBehaviour
Esempio n. 1
0
 void Start()
 {
     GameObject environ = GameObject.FindGameObjectWithTag("Environment");
     rw = environ.GetComponent<RandomWeather>();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     environment = GameObject.FindGameObjectWithTag ("Environment");
     rw = environment.GetComponent<RandomWeather> ();
     secondsPassed = 0f;
     Reset();
 }