Example #1
0
 // Use this for initialization
 void Start()
 {
     cloudsTransform      = GameObject.FindGameObjectWithTag("Earth Clouds");
     cloudRotationScript  = cloudsTransform.GetComponent <CloudRotation>();
     atmosphereInitScript = this.GetComponent <Init>();
     generalUIScript      = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <GeneralUI> ();
 }
Example #2
0
	// Use this for initialization
	void Start () {
		cloudsTransform = GameObject.FindGameObjectWithTag("Earth Clouds");
		cloudRotationScript = cloudsTransform.GetComponent<CloudRotation>();
		generalUIScript = GameObject.FindGameObjectWithTag ("MainCamera").GetComponent<GeneralUI> ();
	}