mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2024-12-23 01:59:40 +08:00
An in-game UI for exploring, debugging and modifying IL2CPP and Mono Unity games.
lib | ||
src | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md |
CppExplorer
Universal Runtime Inspector/Explorer for Unity IL2CPP games.
Features
- Scene exploration (traverse in the same way as the Unity Editor)
- Inspect GameObjects/Transforms and manipulate them
- Inspect any object with Reflection, set primitive values, etc
- REPL Console for executing on-the-fly code
How to install
This requires MelonLoader to be installed for your game.
- Download CppExplorer.zip from Releases.
- Put the file in your
MyGame/Mods/
folder, and unzip with "Extract here" option. - It should not go into a sub-folder, you should see
CppExplorer.dll
andmcs.dll
in yourMods\
folder.
How to use
- Press F7 to show or hide the menu.
- Currently does not grant locked mouse or prevent clicking-through the menu, be careful of this.
- Simply browse through the scene, search for objects, etc, it's pretty self-explanatory.
If you have any specific questions about it you can contact me here, on NexusMods (Sinaioutlander), or on Discord (Sinai#4637, in MelonLoader discord).
Known Issues / Todo
- Fix
List
andArray
support, need to use IL2CPPSystem types. - Add mouse lock and prevent click-through
Images
Scene explorer, and inspection of a MonoBehaviour object.
Advanced search feature.
REPL console.
Credits
Written by Sinai.
Credits to ManlyMarco for his Runtime Unity Editor, which I used for the REPL Console and the "Find instances" snippet, and used the same MCS that he uses*.
* note: I commented out the SkipVisibilityExt
constructor since it was causing an exception for some reason.