* Created a TMP AssetBundle for games which don't have the default TextMeshPro Resources package. This also allows us to use a custom monospace font for the Console and Debug window.
* Unstripped the AssetBundle class (just the stuff we need)
* Finished Search Page
* Finished Options Page (very simple)
* Various refactoring and restructuring of the project
* cleanups
This commit is contained in:
sinaioutlander
2020-11-08 21:04:41 +11:00
parent 2efc3f6578
commit d038d13867
25 changed files with 1604 additions and 947 deletions

View File

@ -55,7 +55,7 @@ namespace UnityExplorer.Inspectors
var inversePos = UIManager.CanvasRoot.transform.InverseTransformPoint(mousePos);
s_mousePosLabel.text = $"Mouse Position: {((Vector2)InputManager.MousePosition).ToString()}";
s_mousePosLabel.text = $"<color=grey>Mouse Position:</color> {((Vector2)InputManager.MousePosition).ToString()}";
float yFix = mousePos.y < 120 ? 80 : -80;
@ -75,7 +75,7 @@ namespace UnityExplorer.Inspectors
if (obj != s_lastHit)
{
s_lastHit = obj;
s_objNameLabel.text = $"<b>Hit:</b> <color=cyan>{obj.name}</color>";
s_objNameLabel.text = $"<b>Click to Inspect:</b> <color=cyan>{obj.name}</color>";
s_objPathLabel.text = $"Path: {obj.transform.GetTransformPath(true)}";
}
@ -116,11 +116,11 @@ namespace UnityExplorer.Inspectors
// Title text
var titleObj = UIFactory.CreateLabel(content, TextAnchor.MiddleLeft);
var titleObj = UIFactory.CreateLabel(content, TextAnchor.MiddleCenter);
var titleText = titleObj.GetComponent<Text>();
titleText.text = "<b>Mouse Inspector</b> (press <b>ESC</b> to cancel)";
var mousePosObj = UIFactory.CreateLabel(content, TextAnchor.MiddleLeft);
var mousePosObj = UIFactory.CreateLabel(content, TextAnchor.MiddleCenter);
s_mousePosLabel = mousePosObj.GetComponent<Text>();
s_mousePosLabel.text = "Mouse Position:";