Skip to content

Commit 70939f6

Browse files
committed
what if we leave ongui only in the base class
1 parent beed29a commit 70939f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/InputParameterEditor.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ public abstract class InputParameterEditor
2727
/// </summary>
2828
public object target { get; internal set; }
2929

30+
/// <summary>
31+
/// Callback for implementing a custom UI.
32+
/// It was mostly needed for the imgui-based editors and should be avoided now.
33+
/// Should be removed once we can release the next major version.
34+
/// </summary>
35+
public void OnGUI() { }
36+
3037
/// <summary>
3138
/// Add visual elements for this parameter editor to a root VisualElement.
3239
/// </summary>

0 commit comments

Comments
 (0)