Commit 036b323
committed
fix(example): prevent menu cube from detaching on activation
The example scene `019_ControllerInteractingWithPointer` has a menu
cube that is displayed when the app menu button is pressed. However,
due to some previous changes, the cube has it's parent reset due to
the `LoadPreviousState` method defaulting the parent to null.
The solution is to ensure `SaveCurrentState` is called so it always
knows about it's parent.1 parent 123b73c commit 036b323
File tree
1 file changed
+1
-0
lines changed- Assets/SteamVR_Unity_Toolkit/Examples/Resources/Scripts
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
0 commit comments