Ejemplo n.º 1
0
 private static void CheckConfig()
 {
     if (WorkScheduler.Instance == null && !WorkScheduler.configWarningIssued && Application.isPlaying)
     {
         UnityEngine.Debug.LogWarning("No Work Scheduler found, please add one. (From the Menu: GameObject/The Forest/Work Scheduler)");
         WorkScheduler.configWarningIssued = true;
         WorkScheduler.AddWorkScheduler();
     }
 }