mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-09-20 21:46:02 +08:00
starting work on a cleanup/rewrite
This commit is contained in:
@ -52,7 +52,7 @@ namespace UnityExplorer.UI.Modules
|
||||
//if (!SaveToDisk)
|
||||
// return;
|
||||
|
||||
var path = ExplorerCore.ExplorerFolder + @"\Logs";
|
||||
var path = ExplorerCore.EXPLORER_FOLDER + @"\Logs";
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
@ -109,6 +109,9 @@ namespace UnityExplorer.UI.Modules
|
||||
|
||||
private void RefreshResultList()
|
||||
{
|
||||
if (m_resultListPageHandler == null || m_results == null)
|
||||
return;
|
||||
|
||||
m_resultListPageHandler.ListCount = m_results.Length;
|
||||
|
||||
int newCount = 0;
|
||||
|
@ -99,11 +99,11 @@ namespace UnityExplorer.UI
|
||||
ForceUnlockCursor.UpdateCursorControl();
|
||||
}
|
||||
|
||||
public static void OnSceneChange()
|
||||
{
|
||||
SceneExplorer.Instance?.OnSceneChange();
|
||||
SearchPage.Instance?.OnSceneChange();
|
||||
}
|
||||
//public static void OnSceneChange()
|
||||
//{
|
||||
// SceneExplorer.Instance?.OnSceneChange();
|
||||
// SearchPage.Instance?.OnSceneChange();
|
||||
//}
|
||||
|
||||
public static void Update()
|
||||
{
|
||||
|
Reference in New Issue
Block a user