This commit is contained in:
2026-04-21 23:02:51 +08:00
parent e6ff3d2c19
commit fbe6ca9605
100 changed files with 10668 additions and 19173 deletions
@@ -1,9 +1,4 @@
#if UNITY_EDITOR || UNITY_STANDALONE
// Unity's Text component doesn't render <b> tag correctly on mobile devices
#define USE_BOLD_COMMAND_SIGNATURES
#endif
using UnityEngine;
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
@@ -11,7 +6,7 @@ using System.Globalization;
using System.Reflection;
using System.Text;
using Object = UnityEngine.Object;
#if UNITY_EDITOR && UNITY_2021_1_OR_NEWER
#if UNITY_EDITOR
using SystemInfo = UnityEngine.Device.SystemInfo; // To support Device Simulator on Unity 2021.1+
#endif
@@ -527,9 +522,7 @@ namespace IngameDebugConsole
StringBuilder methodSignature = new StringBuilder( 256 );
string[] parameterSignatures = new string[parameterTypes.Length];
#if USE_BOLD_COMMAND_SIGNATURES
methodSignature.Append( "<b>" );
#endif
methodSignature.Append( command );
if( parameterTypes.Length > 0 )
@@ -549,9 +542,7 @@ namespace IngameDebugConsole
}
}
#if USE_BOLD_COMMAND_SIGNATURES
methodSignature.Append( "</b>" );
#endif
if( !string.IsNullOrEmpty( description ) )
methodSignature.Append( ": " ).Append( description );