Skip to content

Commit 6238262

Browse files
committed
Fix a hit target variable in a method UpdateCursorTransform
1 parent 0ab5ea8 commit 6238262

File tree

1 file changed

+1
-1
lines changed
  • Assets/HoloToolkit/Input/Scripts/Cursor

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ protected virtual void UpdateCursorTransform()
291291
targetScale = Vector3.one;
292292

293293
// If no game object is hit, put the cursor at the default distance
294-
if (TargetedObject == null)
294+
if (newTargetedObject == null)
295295
{
296296
this.TargetedObject = null;
297297
this.TargetedCursorModifier = null;

0 commit comments

Comments
 (0)