Class InteractableTests
Inheritance
InteractableTests
Assembly: cs.temp.dll.dll
public class InteractableTests : BasePlayModeTests
Methods
Declaration
public override void Setup()
Overrides
Instantiates a runtime assembled Interactable and destroy the Interactable component
Declaration
public IEnumerator TestDestroy()
Returns
Type |
Description |
IEnumerator |
|
Assemble an Interactable GameObject and test various SelectionModes
Declaration
public IEnumerator TestDimensions()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a runtime assembled Interactable and set Interactable state to disabled (not disabling the GameObject/component)
Declaration
public IEnumerator TestDisableState()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a push button prefab and uses simulated hand input to press it.
Declaration
public IEnumerator TestHandInputOnPrefab()
Returns
Type |
Description |
IEnumerator |
|
Assembles a push button from primitives and uses simulated hand input to press it.
Declaration
public IEnumerator TestHandInputOnRuntimeAssembled()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a push button prefab and uses simulated input events to press it.
Declaration
public IEnumerator TestInputActionMenuInput()
Returns
Type |
Description |
IEnumerator |
|
Assembles a push button from primitives and uses simulated input events to press it.
Declaration
public IEnumerator TestInputActionSelectInput()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator TestInteractableDisableOnClick()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator TestPressableToggleHoloLens2()
Returns
Type |
Description |
IEnumerator |
|
Tests that radial buttons can be selected and deselected, and that a radial button
set allows just one button to be selected at a time
Declaration
public IEnumerator TestRadialSetPrefab()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a push button prefab and uses simulated global input events to press it.
Declaration
public IEnumerator TestSelectGlobalInput()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a push button prefab and disable it but also enable global input. Ensure cannot interact because disabled
Declaration
public IEnumerator TestSelectGlobalInputOnDisabled()
Returns
Type |
Description |
IEnumerator |
|
Instantiates a push button prefab and uses simulated voice input events to press it.
Declaration
public IEnumerator TestVoiceInputOnPrefab()
Returns
Type |
Description |
IEnumerator |
|