Skip to content

Instantly share code, notes, and snippets.

View nerakhon's full-sized avatar

Jan Paul nerakhon

  • Nerakhon.cz
  • Prague
View GitHub Profile
@nerakhon
nerakhon / HideTitleMenuBar.cs
Created April 25, 2023 10:18 — forked from kamyker/HideTitleMenuBar.cs
Unity C# hide tool bar and menu bar for light panel in dark mode
#if UNITY_EDITOR
using System;
using System.Runtime.InteropServices;
using System.Text;
using UnityEditor;
using UnityEngine;
public static class HideTitleMenuBar
{
[DllImport("user32.dll")]