/// <summary> /// Applied before ShowMigrationIfNecessary runs. /// </summary> internal static bool Prefix(LoadScreen __instance) { bool closed = __instance != null; if (closed) { __instance.Deactivate(); } return(!closed); }
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); } }