![]() |
VR Interaction Framework v2.0
|
Contains various functionality used in the Demo Scene such as Switching Hands and Locomotion. More...
Public Member Functions | |
| void | UpdateSliderText (float sliderValue) |
| void | UpdateJoystickText (float leverX, float leverY) |
| void | ResetGrabbables () |
| void | GrabAmmo (Grabber grabber) |
| void | ShootLauncher () |
Public Attributes | |
| TMPro.TMP_Text | LabelToUpdate |
| ProjectileLauncher | DemoLauncher |
| Used in the demo scene to shoot various objects. | |
| int | MaxLaunchedObjects = 5 |
| Max number of objects to launch from DemoLauncher. Old objects will be destroyed to make room for new. | |
| Text | JoystickText |
| Used in demo scene. | |
| GameObject | AmmoObject |
| Used in demo scene to spawn ammo clips. | |
| Transform | ItemsHolder |
| Holds all of the grabbable objects in the scene. | |
Contains various functionality used in the Demo Scene such as Switching Hands and Locomotion.
| void BNG.DemoScript.GrabAmmo | ( | Grabber | grabber | ) |
| void BNG.DemoScript.ResetGrabbables | ( | ) |
| void BNG.DemoScript.ShootLauncher | ( | ) |
| void BNG.DemoScript.UpdateJoystickText | ( | float | leverX, |
| float | leverY | ||
| ) |
| void BNG.DemoScript.UpdateSliderText | ( | float | sliderValue | ) |
| GameObject BNG.DemoScript.AmmoObject |
Used in demo scene to spawn ammo clips.
| ProjectileLauncher BNG.DemoScript.DemoLauncher |
Used in the demo scene to shoot various objects.
| Transform BNG.DemoScript.ItemsHolder |
Holds all of the grabbable objects in the scene.
| Text BNG.DemoScript.JoystickText |
Used in demo scene.
| TMPro.TMP_Text BNG.DemoScript.LabelToUpdate |
| int BNG.DemoScript.MaxLaunchedObjects = 5 |
Max number of objects to launch from DemoLauncher. Old objects will be destroyed to make room for new.