Fix an issue causing duplicated clicks in some IL2CPP games, fix setting Component.enabled in IL2CPP

This commit is contained in:
sinaioutlander committed 2020-12-15 19:32:50 +11:00
1 parent 82e52de557
commit 97325a5f3a
4 files changed
+21 -13

No files matched your search

-9
View File
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
//using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
@@ -51,8 +50,6 @@ namespace UnityExplorer.UI.Modules
private SceneFilter m_sceneFilter;
private ChildFilter m_childFilter;
internal bool m_isStaticClassSearching;
// ui elements
private Text m_resultCountText;
@@ -257,8 +254,6 @@ namespace UnityExplorer.UI.Modules
internal void StaticClassSearch()
{
m_isStaticClassSearching = true;
var list = new List<Type>();
var nameFilter = "";
@@ -295,8 +290,6 @@ namespace UnityExplorer.UI.Modules
private void SingletonSearch()
{
m_isStaticClassSearching = false;
var instances = new List<object>();
var nameFilter = "";
@@ -356,8 +349,6 @@ namespace UnityExplorer.UI.Modules
internal void UnityObjectSearch()
{
m_isStaticClassSearching = false;
Type searchType = null;
switch (m_context)
{