mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 14:37:49 +08:00
Cleanup and update readme
This commit is contained in:
parent
afa4135b67
commit
1fa1283a68
15
README.md
15
README.md
@ -49,6 +49,21 @@ The standalone release can be used with any injector or loader of your choice, b
|
|||||||
3. Create an instance of Unity Explorer with `UnityExplorer.ExplorerStandalone.CreateInstance();`
|
3. Create an instance of Unity Explorer with `UnityExplorer.ExplorerStandalone.CreateInstance();`
|
||||||
4. Optionally subscribe to the `ExplorerStandalone.OnLog` event to handle logging if you wish
|
4. Optionally subscribe to the `ExplorerStandalone.OnLog` event to handle logging if you wish
|
||||||
|
|
||||||
|
# Known issues
|
||||||
|
|
||||||
|
**C# Console completions are inaccurate or incomplete**
|
||||||
|
|
||||||
|
* Issue with `Mono.CSharp.Evaluator`, [being looked into](https://github.com/sinai-dev/UnityExplorer/issues/75).
|
||||||
|
|
||||||
|
**[IL2CPP] List or Dictionary fails to enumerate**
|
||||||
|
|
||||||
|
* Issue with `Il2CppAssemblyUnhollower`, [being looked into](https://github.com/sinai-dev/UnityExplorer/issues/74).
|
||||||
|
|
||||||
|
**[MelonLoader] Game classes do not load / all non-Unity components show up as "UnityEngine.Component"**
|
||||||
|
|
||||||
|
* Unsure of the cause of this issue, try with BepInEx and see if issue persists. Seems to be an issue with MelonLoader not being able to do `Assembly.Load` on the unhollowed `Assembly-CSharp` for some reason, despite the fact that referencing the assembly from a mod and loading it that way works fine.
|
||||||
|
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
|
@ -499,15 +499,14 @@ namespace UnityExplorer
|
|||||||
{
|
{
|
||||||
if (Directory.Exists(UnhollowedFolderPath))
|
if (Directory.Exists(UnhollowedFolderPath))
|
||||||
{
|
{
|
||||||
var files = Directory.GetFiles(UnhollowedFolderPath);
|
foreach (var filePath in Directory.GetFiles(UnhollowedFolderPath, "*.dll"))
|
||||||
foreach (var filePath in files)
|
DoLoadModule(filePath);
|
||||||
DoLoadModule(filePath, false);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ExplorerCore.LogWarning($"Expected Unhollowed folder path does not exist: '{UnhollowedFolderPath}'");
|
ExplorerCore.LogWarning($"Expected Unhollowed folder path does not exist: '{UnhollowedFolderPath}'");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool DoLoadModule(string fullPath, bool suppressWarning = false)
|
internal bool DoLoadModule(string fullPath)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(fullPath) || !File.Exists(fullPath))
|
if (string.IsNullOrEmpty(fullPath) || !File.Exists(fullPath))
|
||||||
return false;
|
return false;
|
||||||
|
@ -56,13 +56,7 @@ namespace UnityExplorer.ObjectExplorer
|
|||||||
else if (m_context == SearchContext.Class)
|
else if (m_context == SearchContext.Class)
|
||||||
currentResults = SearchProvider.ClassSearch(nameInputField.Text);
|
currentResults = SearchProvider.ClassSearch(nameInputField.Text);
|
||||||
else
|
else
|
||||||
{
|
currentResults = SearchProvider.UnityObjectSearch(nameInputField.Text, desiredTypeInput, m_context, m_childFilter, m_sceneFilter);
|
||||||
string compType = "";
|
|
||||||
if (m_context == SearchContext.UnityObject)
|
|
||||||
compType = this.desiredTypeInput;
|
|
||||||
|
|
||||||
currentResults = SearchProvider.UnityObjectSearch(nameInputField.Text, compType, m_context, m_childFilter, m_sceneFilter);
|
|
||||||
}
|
|
||||||
|
|
||||||
dataHandler.RefreshData();
|
dataHandler.RefreshData();
|
||||||
resultsScrollPool.Refresh(true);
|
resultsScrollPool.Refresh(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user