Commit 6168143
committed
feat(DeviceFinder): add ability to get hand of controller
It's now possible to determine which hand the controller is for by
calling a new method `DeviceFinder.GetControllerHand(controllerObject);`
which can be useful for determining which controller is interacting
with an object. It can be used for example like so in the `StartUsing`
method of an interactable object:
`DeviceFinder.GetControllerHand(usingObject);`
This will determine which controller is being used to `Use` the obejct.1 parent 0b01d8c commit 6168143
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
52 | 69 | | |
53 | 70 | | |
54 | 71 | | |
| |||
0 commit comments