Esempio n. 1
0
        protected override void Awake()
        {
            base.Awake();


            m_SkySphere = GetComponent <CSky_SkySphere>();
        }
Esempio n. 2
0
 private void Start()
 {
     if (!CheckComponents)
     {
         BuildCloudsDome();
     }
     m_SkySphere = GetComponent <CSky_SkySphere>();
 }
Esempio n. 3
0
        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();
        }