Example #1
0
 private void OnEnable()
 {
     dayNightControl = this.GetComponent <DayNightCycle>();
     if (dayNightControl != null)
     {
         dayNightControl.AddModule(this);
     }
 }