Skip to content

Commit 20ae18d

Browse files
Updated callback method names per CR
1 parent 2f6945c commit 20ae18d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Assets/HoloToolkit/UI/Scripts/KeyboardInputField.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ public override void OnPointerClick(PointerEventData eventData)
4747
}
4848

4949
// Subscribe to keyboard delegates
50-
Keyboard.Instance.OnTextUpdated += Keyboard_onTextUpdated;
51-
Keyboard.Instance.OnClosed += Keyboard_onClosed;
50+
Keyboard.Instance.OnTextUpdated += Keyboard_OnTextUpdated;
51+
Keyboard.Instance.OnClosed += Keyboard_OnClosed;
5252
}
5353

5454
/// <summary>
5555
/// Delegate function for getting keyboard input
5656
/// </summary>
5757
/// <param name="newText"></param>
58-
private void Keyboard_onTextUpdated(string newText)
58+
private void Keyboard_OnTextUpdated(string newText)
5959
{
6060
if (!string.IsNullOrEmpty(newText))
6161
{
@@ -67,11 +67,11 @@ private void Keyboard_onTextUpdated(string newText)
6767
/// Delegate function for getting keyboard input
6868
/// </summary>
6969
/// <param name="sender"></param>
70-
private void Keyboard_onClosed(object sender, EventArgs e)
70+
private void Keyboard_OnClosed(object sender, EventArgs e)
7171
{
7272
// Unsubscribe from delegate functions
73-
Keyboard.Instance.OnTextUpdated -= Keyboard_onTextUpdated;
74-
Keyboard.Instance.OnClosed -= Keyboard_onClosed;
73+
Keyboard.Instance.OnTextUpdated -= Keyboard_OnTextUpdated;
74+
Keyboard.Instance.OnClosed -= Keyboard_OnClosed;
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)