예제 #1
0
        void ShowSelector(string fieldName, KeyCode key, KeySelector.CallbackKeyCode callback)
        {
            GUILayout.BeginHorizontal();
            GUILayout.Label(fieldName, GUILayout.Width(117f));

            if (GUILayout.Button(key.ToString(), "MiniPullDown"))
            {
                KeySelector.Show(fieldName, key, m.keysInUse, callback);
            }
            GUILayout.EndHorizontal();
        }