예제 #1
0
        /// <summary>
        /// 全てのNetInfoをテキストに出力する。
        /// </summary>
        public static void OutputRegisteredNetInfos()
        {
            System.IO.StreamWriter sw = new System.IO.StreamWriter("AllNetInfo.txt", false, System.Text.Encoding.GetEncoding("utf-8"));

            foreach (var s in JPTL.GetRegisteredNetInfos())
            {
                sw.WriteLine(s);
            }

            sw.Close();
        }
예제 #2
0
        public override void OnLevelLoaded(LoadMode mode)
        {
            base.OnLevelLoaded(mode);

            if (mode != LoadMode.LoadGame && mode != LoadMode.NewGame)
            {
                return;
            }

            JPTL.ReplaceAllTL();
            //Log.OutputRegisteredNetInfos();
        }