| | |
| | |
|
| | | public static void AddLog(string info, uint objId = 0)
|
| | | {
|
| | | if (!s_BattleLog && !s_MoveLog)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | string _strTime = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
| | | string _content = string.Format("[{0}] {1}<br />", _strTime, info);
|
| | |
|
| | |
| | |
|
| | | s_LogDict[objId].Append(_content);
|
| | | }
|
| | |
|
| | | //if (s_LogList.Count >= 10000)
|
| | | //{
|
| | | // SaveNpcLog();
|
| | | //}
|
| | |
|
| | | }
|
| | |
|
| | | public static void SaveNpcLog()
|
| | |
| | | RuntimeLogUtility.s_SkillEffectLog = EditorGUILayout.Toggle("技能效果log输出", RuntimeLogUtility.s_SkillEffectLog);
|
| | | RuntimeLogUtility.s_LogMoveDistance = EditorGUILayout.Toggle("位移距离Log输出", RuntimeLogUtility.s_LogMoveDistance);
|
| | | RuntimeLogUtility.s_ShowMapLine = EditorGUILayout.Toggle("显示地图网格", RuntimeLogUtility.s_ShowMapLine);
|
| | | |
| | |
|
| | | _navChkPos = EditorGUILayout.Vector3Field("检测点", _navChkPos);
|
| | |
|
| | | if (GUILayout.Button("检测"))
|