//============================================ #endregion protected override void OnEnable() { base.OnEnable(); // Get target class. m_Target = (LSky_Skydome)target; // Find resources fields InitResources(); // Find general settings fields InitGeneralSettings(); // Find celestials fields InitCelestials(); // Find atmosphere fields InitAtmosphere(); // Find clouds fields InitClouds(); // Find lighting fields InitLighting(); }
protected override void Awake() { base.Awake(); m_Skydome = GetComponent <LSky_Skydome>(); }