예제 #1
0
        /// <summary>
        /// Applied before ShowMigrationIfNecessary runs.
        /// </summary>
        internal static bool Prefix(LoadScreen __instance)
        {
            bool closed = __instance != null;

            if (closed)
            {
                __instance.Deactivate();
            }
            return(!closed);
        }
예제 #2
0
        void FinishLoading()
        {
            if (loadScreenWorkaround != null)
            {
                StopCoroutine(loadScreenWorkaround);
            }

            itemInitializationDelayDone = true;
            loadScreen.Deactivate();
            playerController.enabled = true;
            FsmManager.PlayerInMenu  = false;

            GameObject vh = GameObject.Find("VehiclesHighway");

            if (vh)
            {
                vh.SetActive(false);
            }
        }