You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-36Lines changed: 1 addition & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,40 +15,7 @@ A fully working runtime dark mode mod for Unity Editor on Windows with:
15
15
- Download the `UnityEditorDarkMode.dll` from [releases](https://github.com/0x7c13/UnityEditor-DarkMode/releases)
16
16
17
17
> **WARNING:** If you feel uncomfortable downloading a malicious DLL from a stranger like me, then you should not:) Take a look at later sections to see how it works and how to build it yourself if you prefer. Please do your own homework and make your own judgement. I offer this approach as a convenience for those who don't want to build a C++ project themselves.
18
-
- Now, you have two options:
19
-
20
-
Option 1: Add a Unity editor script to your project like below:
21
-
```C#
22
-
#ifUNITY_EDITOR_WIN// Windows only, obviously
23
-
namespaceEditor.Theme// Change this to your own namespace you like or simply remove it
24
-
{
25
-
usingSystem.Runtime.InteropServices;
26
-
usingUnityEditor;
27
-
28
-
publicstaticclassUnityEditorDarkMode
29
-
{
30
-
// Change below path to the path of the downloaded dll or
31
-
// simply put the dll in the same directory as the script and use
0 commit comments