Created
January 31, 2019 13:21
-
-
Save atil/c50e0864037c508cbc4ccaf3a0c94330 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
[InitializeOnLoad] | |
public static class HotkeyTest | |
{ | |
[MenuItem("HotkeyTest/Hotkey test alt #&S")] | |
public static void TestWithAlt() | |
{ | |
Debug.Log("Alt+shift+S pressed"); | |
} | |
[MenuItem("HotkeyTest/Hotkey test ctrl %&S")] | |
public static void TestWithCtrl() | |
{ | |
Debug.Log("Ctrl+shift+S pressed"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment