Skip to content

Commit e1e36b2

Browse files
author
David Kline
authored
Merge pull request #2658 from wassx/mrtk_development
Fixed parenting of cursor
2 parents 6fad4bd + be5df68 commit e1e36b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit-SDK/Features/Input/GazeProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private void Start()
272272
{
273273
if (cursorPrefab != null)
274274
{
275-
var cursorObj = Instantiate(cursorPrefab);
275+
var cursorObj = Instantiate(cursorPrefab, transform.parent);
276276
GazePointer.BaseCursor = cursorObj.GetComponent<IMixedRealityCursor>();
277277
Debug.Assert(GazePointer.BaseCursor != null, "Failed to load cursor");
278278
GazePointer.BaseCursor.Pointer = GazePointer;

0 commit comments

Comments
 (0)