// 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> (); }
// Use this for initialization void Start () { cloudsTransform = GameObject.FindGameObjectWithTag("Earth Clouds"); cloudRotationScript = cloudsTransform.GetComponent<CloudRotation>(); generalUIScript = GameObject.FindGameObjectWithTag ("MainCamera").GetComponent<GeneralUI> (); }