You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Custom setting draw action that allows polling keyboard input with the Input class.
47
+
/// </summary>
48
+
/// <param name="setting">Setting currently being set, is available</param>
49
+
/// <param name="isCurrentlyAcceptingInput">Set this ref parameter to true when you want the current setting drawer to receive Input events. Remember to set it to false after you are done!</param>
/// Custom setting editor that allows polling keyboard input with the Input (or UnityInput) class.
43
+
/// Use either CustomDrawer or CustomHotkeyDrawer, using both at the same time leads to undefined behaviour.
44
+
/// </summary>
45
+
publicCustomHotkeyDrawerFuncCustomHotkeyDrawer;
46
+
47
+
/// <summary>
48
+
/// Custom setting draw action that allows polling keyboard input with the Input class.
49
+
/// Note: Make sure to focus on your UI control when you are accepting input so user doesn't type in the search box or in another setting (best to do this on every frame).
50
+
/// If you don't draw any selectable UI controls You can use `GUIUtility.keyboardControl = -1;` on every frame to make sure that nothing is selected.
0 commit comments