Skip to content

Instantly share code, notes, and snippets.

@baba-s
Last active April 6, 2024 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baba-s/aa384e66d99441d39a049a060270cae1 to your computer and use it in GitHub Desktop.
Save baba-s/aa384e66d99441d39a049a060270cae1 to your computer and use it in GitHub Desktop.
using System.Runtime.InteropServices;
using UnityEditor;
internal static class DarkMode
{
[InitializeOnLoadMethod]
[DllImport( "【ここに UnityEditorDarkMode.dll のパスを書く】", EntryPoint = "DllMain" )]
public static extern void DllMain();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment