mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2026-10-10 20:23:13 +08:00
Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e1fb0e27b | |||
| 6b8a7d90c8 | |||
| 1b4657dead | |||
| 1af20ead9f | |||
| 706a18d1f6 | |||
| 81dd8bad0e | |||
| 97dffc81e1 | |||
| bf2b22e768 | |||
| d1fbbfa62d | |||
| 56a3cef245 | |||
| 61e7915a55 | |||
| 88e63c8d6a | |||
| 048e5980a0 | |||
| 3b851b6e08 | |||
| 4c029dad90 | |||
| 3d61011e59 | |||
| 5285239bc5 | |||
| 57d3a3f52e | |||
| c88182c831 | |||
| 02e0102041 | |||
| 6adecef785 | |||
| ff6c03e1f3 | |||
| 1aedc505b2 | |||
| dbe993a7c7 | |||
| 5a1676fb84 | |||
| a7a663aefa | |||
| 76c77fb082 | |||
| a25017df69 | |||
| a1fab0c4a7 | |||
| 4599747bfe | |||
| 3856e84c08 | |||
| 104288a912 | |||
| 41e8a5ae33 |
@@ -34,53 +34,59 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx.IL2CPP.zip
|
name: UnityExplorer.BepInEx.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx.IL2CPP.zip
|
path: ./Release/UnityExplorer.BepInEx.IL2CPP/
|
||||||
|
|
||||||
|
# BepInEx IL2CPP CoreCLR
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
|
||||||
|
path: ./Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR/
|
||||||
|
|
||||||
# BepInEx 5 Mono
|
# BepInEx 5 Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx5.Mono.zip
|
name: UnityExplorer.BepInEx5.Mono.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx5.Mono.zip
|
path: ./Release/UnityExplorer.BepInEx5.Mono/
|
||||||
|
|
||||||
# BepInEx 6 Mono
|
# BepInEx 6 Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx6.Mono.zip
|
name: UnityExplorer.BepInEx6.Mono.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx6.Mono.zip
|
path: ./Release/UnityExplorer.BepInEx6.Mono/
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Editor.zip
|
name: UnityExplorer.Editor.zip
|
||||||
path: ./Release/UnityExplorer.Editor.zip
|
path: ./UnityEditorPackage/
|
||||||
|
|
||||||
# MelonLoader IL2CPP net6preview
|
# MelonLoader IL2CPP net6preview
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview/
|
||||||
|
|
||||||
# MelonLoader IL2CPP net472
|
# MelonLoader IL2CPP net472
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.IL2CPP.zip
|
name: UnityExplorer.MelonLoader.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.zip
|
path: ./Release/UnityExplorer.MelonLoader.IL2CPP/
|
||||||
|
|
||||||
# MelonLoader Mono
|
# MelonLoader Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.Mono.zip
|
name: UnityExplorer.MelonLoader.Mono.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.Mono.zip
|
path: ./Release/UnityExplorer.MelonLoader.Mono/
|
||||||
|
|
||||||
# Standalone Il2Cpp
|
# Standalone Il2Cpp
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Standalone.IL2CPP.zip
|
name: UnityExplorer.Standalone.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.Standalone.IL2CPP.zip
|
path: ./Release/UnityExplorer.Standalone.IL2CPP/
|
||||||
|
|
||||||
# Standalone Mono
|
# Standalone Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Standalone.Mono.zip
|
name: UnityExplorer.Standalone.Mono.zip
|
||||||
path: ./Release/UnityExplorer.Standalone.Mono.zip
|
path: ./Release/UnityExplorer.Standalone.Mono/
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Nightly builds can be found [here](https://github.com/sinai-dev/UnityExplorer/ac
|
|||||||
| Release | IL2CPP | Mono |
|
| Release | IL2CPP | Mono |
|
||||||
| ------- | ------ | ---- |
|
| ------- | ------ | ---- |
|
||||||
| BIE 6.X | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
| BIE 6.X | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
||||||
|
| BIE 6.X (CoreCLR) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip) | ✖ |
|
||||||
| BIE 5.X | ✖️ n/a | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
| BIE 5.X | ✖️ n/a | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
||||||
|
|
||||||
1. Unzip the release file into a folder
|
1. Unzip the release file into a folder
|
||||||
@@ -38,10 +39,10 @@ Nightly builds can be found [here](https://github.com/sinai-dev/UnityExplorer/ac
|
|||||||
|
|
||||||
## MelonLoader
|
## MelonLoader
|
||||||
|
|
||||||
| Release | IL2CPP | Mono |
|
| Release | IL2CPP | Mono |
|
||||||
| ---------- | ------ | ---- |
|
| ------- | ------ | ---- |
|
||||||
| ML 0.4/0.5 | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.Mono.zip) |
|
| ML 0.5 | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.Mono.zip) |
|
||||||
| ML 0.6 | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip) | ✖️ |
|
| ML 0.6 | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip) | ✖️ |
|
||||||
|
|
||||||
1. Unzip the release file into a folder
|
1. Unzip the release file into a folder
|
||||||
2. Copy the DLL inside the `Mods` folder into your MelonLoader `Mods` folder
|
2. Copy the DLL inside the `Mods` folder into your MelonLoader `Mods` folder
|
||||||
@@ -90,6 +91,20 @@ If these fixes do not work, please create an issue in this repo and I'll do my b
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
### Inspector API
|
||||||
|
|
||||||
|
If you want to inspect an object or Type from outside the C# console, use the `InspectorManager` class:
|
||||||
|
|
||||||
|
**To inspect an object:**
|
||||||
|
```csharp
|
||||||
|
UnityExplorer.InspectorManager.Inspect(theObject);
|
||||||
|
```
|
||||||
|
|
||||||
|
**To inspect a Type:**
|
||||||
|
```cs
|
||||||
|
UnityExplorer.InspectorManager.Inspect(typeof(SomeClass));
|
||||||
|
```
|
||||||
|
|
||||||
### Object Explorer
|
### Object Explorer
|
||||||
|
|
||||||
* Use the <b>Scene Explorer</b> tab to traverse the active scenes, as well as the DontDestroyOnLoad and HideAndDontSave objects.
|
* Use the <b>Scene Explorer</b> tab to traverse the active scenes, as well as the DontDestroyOnLoad and HideAndDontSave objects.
|
||||||
@@ -110,7 +125,8 @@ The inspector is used to see detailed information on objects of any type and man
|
|||||||
* Automatic updating is not enabled by default, and you must press Apply for any changes you make to take effect.
|
* Automatic updating is not enabled by default, and you must press Apply for any changes you make to take effect.
|
||||||
* Press the `▼` button to expand certain values such as strings, enums, lists, dictionaries, some structs, etc
|
* Press the `▼` button to expand certain values such as strings, enums, lists, dictionaries, some structs, etc
|
||||||
* Use the filters at the top to quickly find the members you are looking for
|
* Use the filters at the top to quickly find the members you are looking for
|
||||||
* For `Texture2D` objects, there is a `View Texture` button at the top of the inspector which lets you view it and save it as a PNG file. Currently there are no other similar helpers yet, but I may add more at some point for Mesh, Sprite, Material, etc
|
* For `Texture2D`, `Image`, `Sprite` and `Material` objects, there is a `View Texture` button at the top of the inspector which lets you view the Texture(s) and save them as a PNG file.
|
||||||
|
* For `AudioClip` objects there is a `Show Player` button which opens an audio player widget. For clips which are loaded as `DecompressOnLoad`, there is also a button to save them to a `.wav` file.
|
||||||
|
|
||||||
### C# Console
|
### C# Console
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +1,8 @@
|
|||||||
using System;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using UnityExplorer.CSConsole.Lexers;
|
using UnityExplorer.CSConsole.Lexers;
|
||||||
using UnityExplorer.UI.Panels;
|
using UnityExplorer.UI.Panels;
|
||||||
using UnityExplorer.UI.Widgets.AutoComplete;
|
using UnityExplorer.UI.Widgets.AutoComplete;
|
||||||
using UniverseLib;
|
|
||||||
using UniverseLib.UI.Models;
|
using UniverseLib.UI.Models;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,23 +1,10 @@
|
|||||||
using HarmonyLib;
|
using Mono.CSharp;
|
||||||
using Mono.CSharp;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
using UnityExplorer.UI;
|
using UnityExplorer.UI;
|
||||||
using UnityExplorer.UI.Panels;
|
using UnityExplorer.UI.Panels;
|
||||||
using UnityExplorer.UI.Widgets.AutoComplete;
|
|
||||||
using UniverseLib;
|
|
||||||
using UniverseLib.Input;
|
using UniverseLib.Input;
|
||||||
using UniverseLib.Runtime;
|
|
||||||
using UniverseLib.UI.Models;
|
using UniverseLib.UI.Models;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
@@ -56,6 +43,7 @@ namespace UnityExplorer.CSConsole
|
|||||||
"System.Text",
|
"System.Text",
|
||||||
"System.Collections",
|
"System.Collections",
|
||||||
"System.Collections.Generic",
|
"System.Collections.Generic",
|
||||||
|
"System.Reflection",
|
||||||
"UnityEngine",
|
"UnityEngine",
|
||||||
"UniverseLib",
|
"UniverseLib",
|
||||||
#if CPP
|
#if CPP
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using UnityExplorer.CSConsole.Lexers;
|
using UnityExplorer.CSConsole.Lexers;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using UnityEngine;
|
namespace UnityExplorer.CSConsole.Lexers
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole.Lexers
|
|
||||||
{
|
{
|
||||||
public class CommentLexer : Lexer
|
public class CommentLexer : Lexer
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user