移除不用的脚本

This commit is contained in:
Bob.Song
2026-02-26 16:08:15 +08:00
parent 06e5d9ae1a
commit be43dbbf46
4999 changed files with 5034 additions and 845474 deletions

View File

@@ -1,6 +1,4 @@
using System.Diagnostics;
namespace SRDebugger.Internal
namespace SRDebugger.Internal
{
using System.Collections.Generic;
using System.ComponentModel;
@@ -22,15 +20,9 @@ namespace SRDebugger.Internal
switch (Application.platform)
{
#if UNITY_5 || UNITY_5_3_OR_NEWER
case RuntimePlatform.WSAPlayerARM:
case RuntimePlatform.WSAPlayerX64:
case RuntimePlatform.WSAPlayerX86:
#else
case RuntimePlatform.MetroPlayerARM:
case RuntimePlatform.MetroPlayerX64:
case RuntimePlatform.MetroPlayerX86:
#endif
return true;
default:
@@ -55,7 +47,7 @@ namespace SRDebugger.Internal
return false;
}
var e = Object.FindObjectOfType<EventSystem>();
var e = Object.FindFirstObjectByType<EventSystem>();
// Check if EventSystem is in the scene but not registered yet
if (e != null && e.gameObject.activeSelf && e.enabled)