26 lines
782 B
C#
Raw Normal View History

2025-04-01 16:16:45 +08:00
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2007-2020 , Inc. All Rights Reserved.
//
////////////////////////////////////////////////////////////////////////////////
#if (UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN) && !UNITY_EDITOR_OSX
using System;
using System.Runtime.InteropServices;
namespace GCSeries.Core.Interop
{
public static class Win32
{
////////////////////////////////////////////////////////////////////////
// Public Static Methods
////////////////////////////////////////////////////////////////////////
[DllImport("user32.dll")]
public static extern IntPtr GetFocus();
}
}
#endif // (UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN) && !UNITY_EDITOR_OSX