protected override void Awake() { base.Awake(); m_SkySphere = GetComponent <CSky_SkySphere>(); }
private void Start() { if (!CheckComponents) { BuildCloudsDome(); } m_SkySphere = GetComponent <CSky_SkySphere>(); }
protected override void OnEnable() { base.OnEnable(); // Get target class. tar = (CSky_SkySphere)target; // Find resources and components properties. InitResoucesAndComponents(); // Find celestials properties. InitCelestials(); // Find atmosphere properties. InitAtmosphere(); // Find lighting properties. InitLighting(); // Find color correction and eclipses properties. InitOtherSettings(); }