static void FindUnloadTruckComponent()
        {
            UnloadTruck = GameObject.FindObjectOfType <UnloadTruck>();
#if UNITY_EDITOR
            if (UnloadTruck == null && !HideWarnings)
            {
                Debug.LogError("No '" + nameof(GreenPandaAssets.Scripts.Factory.UnloadTruck) + "' component present in the scene!");
            }
#endif
        }
 static void OnSceneLoaded(Scene scene, LoadSceneMode mode)
 {
     // Make sure we empty all our static references every time the new scene is loaded.
     AnimatedProps         = null;
     CheckpointService     = null;
     NullCheckpointService = null;
     CoinCointer           = null;
     NullCoinCounter       = null;
     VoiceoverService      = null;
     NullVoiceoverService  = null;
     AllLocations          = null;
     LoadTruck             = null;
     ControllerService     = null;
     UnloadTruck           = null;
     QuaryUpgradable       = null;
     DisplayController     = null;
 }