mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-10 14:03:30 +08:00
Cleanup
This commit is contained in:
@ -46,14 +46,17 @@ namespace UnityExplorer.Inspectors
|
||||
public override bool ShouldSaveActiveState => false;
|
||||
public override bool ShowByDefault => false;
|
||||
|
||||
internal static Text objNameLabel;
|
||||
internal static Text objPathLabel;
|
||||
internal static Text mousePosLabel;
|
||||
private static Text objNameLabel;
|
||||
private static Text objPathLabel;
|
||||
private static Text mousePosLabel;
|
||||
|
||||
// Mouse Inspector
|
||||
public static bool Inspecting { get; set; }
|
||||
public static MouseInspectMode Mode { get; set; }
|
||||
|
||||
private static Camera MainCamera;
|
||||
private static GraphicRaycaster[] graphicRaycasters;
|
||||
|
||||
private static GameObject lastHitObject;
|
||||
private static Vector3 lastMousePos;
|
||||
|
||||
@ -61,9 +64,6 @@ namespace UnityExplorer.Inspectors
|
||||
private static readonly List<CanvasGroup> wasDisabledCanvasGroups = new List<CanvasGroup>();
|
||||
private static readonly List<GameObject> objectsAddedCastersTo = new List<GameObject>();
|
||||
|
||||
internal static Camera MainCamera;
|
||||
internal static GraphicRaycaster[] graphicRaycasters;
|
||||
|
||||
public void StartInspect(MouseInspectMode mode)
|
||||
{
|
||||
MainCamera = Camera.main;
|
||||
|
Reference in New Issue
Block a user