Unity添加自定義快捷鍵——UGUI快捷鍵

在Editor下監聽按鍵有如下幾種方式:html 1 自定義菜單欄功能:api using UnityEngine; using UnityEditor; public static class MyMenuCommands { [MenuItem("My Commands/First Command _p")] static void FirstCommand() {
相關文章
相關標籤/搜索