various improvements to reflection inspector and C# console

This commit is contained in:
sinaioutlander
2020-11-12 16:15:41 +11:00
parent 2077601464
commit a7f86227fb
28 changed files with 656 additions and 420 deletions

View File

@ -7,7 +7,6 @@ using UnityExplorer.UI.Modules;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
//using TMPro;
using UnityExplorer.Inspectors.Reflection;
namespace UnityExplorer.Inspectors
@ -28,8 +27,6 @@ namespace UnityExplorer.Inspectors
public GameObject m_tabBarContent;
public GameObject m_inspectorContent;
private readonly List<Text> testTexts = new List<Text>();
public void Update()
{
for (int i = 0; i < m_currentInspectors.Count; i++)
@ -39,12 +36,6 @@ namespace UnityExplorer.Inspectors
m_currentInspectors[i].Update();
}
// ======= test ======== //
foreach (var text in testTexts)
{
text.text = Time.time.ToString();
}
}
public void Inspect(object obj)