Skip to content

Commit fb49bf5

Browse files
author
Alexander Seeck
committed
OnTeleportStarted is the same as in base, removed it.
removed setting visibility here
1 parent ede453f commit fb49bf5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/TeleportPointer.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ public override void OnTeleportRequest(TeleportEventData eventData)
375375
if (eventData.Pointer.PointerId == PointerId)
376376
{
377377
IsTeleportRequestActive = false;
378-
BaseCursor?.SetVisibility(true);
379378
}
380379
else
381380
{
@@ -384,14 +383,6 @@ public override void OnTeleportRequest(TeleportEventData eventData)
384383
}
385384
}
386385

387-
/// <inheritdoc />
388-
public override void OnTeleportStarted(TeleportEventData eventData)
389-
{
390-
// Turn off all pointers while we teleport.
391-
IsTeleportRequestActive = true;
392-
BaseCursor?.SetVisibility(false);
393-
}
394-
395386
/// <inheritdoc />
396387
public override void OnTeleportCompleted(TeleportEventData eventData)
397388
{

0 commit comments

Comments
 (0)