Windows 환경에서 창 최소화 실행
// Unity - Answers - alkohol 님 답변 // Dev-korea - ClaiMoon 님 답변 // 쉽게 최소화 버튼 만드는 방법 using System; using System.Runtime.InteropServices; [DllImport("user32.dll")] private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow); [DllImport("user32.dll")] private static extern IntPtr GetActiveWindow(); public void OnMinimizeButtonClick() { ShowWindow(GetActiveWindow(), 2); } // 최소화 버튼 실행이 잘된다.