移除不用的脚本
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user