Пример #1
0
        public static void SimulationDataReady()
        {
            try {
                LogCalled();
                if (!Loaded)
                {
                    NetInfoUtil.GenerateDCTextures();
                    NetInfoUtil.FixMaxTurnAngles();
                    NetInfoUtil.FixDCFlags();
                    if (DCRConfig.Config.RefreshOnStartup)
                    {
                        DCRSettings.RefreshNetworks();
                    }
                }

                Loaded = true;
            }
            catch (Exception e) {
                Log.Exception(e);
            }
        }
Пример #2
0
 public void OnSettingsUI(UIHelper helper) => DCRSettings.OnSettingsUI(helper);