Skip to content

Commit 6b7fb91

Browse files
author
David Kline
authored
Merge pull request #3608 from Alexees/mrtk_focusHandlerCleanup
IMixedRealityFocusHandler cleanup
2 parents 7d08359 + b674f09 commit 6b7fb91

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/Interactable.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -543,16 +543,6 @@ public void OnFocusExit(FocusEventData eventData)
543543
SetFocus(pointers.Count > 0);
544544
}
545545

546-
public void OnBeforeFocusChange(FocusEventData eventData)
547-
{
548-
//do nothing
549-
}
550-
551-
public void OnFocusChanged(FocusEventData eventData)
552-
{
553-
//do nothing
554-
}
555-
556546
#endregion MixedRealityFocusHandlers
557547

558548
#region MixedRealityPointerHandlers

Assets/MixedRealityToolkit/Interfaces/InputSystem/Handlers/IMixedRealityFocusHandler.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
using System;
54
using Microsoft.MixedReality.Toolkit.Core.EventDatum.Input;
65
using UnityEngine.EventSystems;
76

@@ -12,12 +11,6 @@ namespace Microsoft.MixedReality.Toolkit.Core.Interfaces.InputSystem.Handlers
1211
/// </summary>
1312
public interface IMixedRealityFocusHandler : IEventSystemHandler
1413
{
15-
[Obsolete("Use IMixedRealityFocusChangedHandler instead.")]
16-
void OnBeforeFocusChange(FocusEventData eventData);
17-
18-
[Obsolete("Use IMixedRealityFocusChangedHandler instead.")]
19-
void OnFocusChanged(FocusEventData eventData);
20-
2114
/// <summary>
2215
/// The Focus Enter event is raised on this <see href="https://docs.unity3d.com/ScriptReference/GameObject.html">GameObject</see> whenever a <see cref="Microsoft.MixedReality.Toolkit.Core.Interfaces.InputSystem.IMixedRealityPointer"/>'s focus enters this <see href="https://docs.unity3d.com/ScriptReference/GameObject.html">GameObject</see>'s <see href="https://docs.unity3d.com/ScriptReference/Collider.html">Collider</see>.
2316
/// </summary>

0 commit comments

Comments
 (0)