Class PrefabSpawner
Add to any Object to spawn a prefab to it, according to preference
Inheritance
PrefabSpawner
Implements
IMixedRealityInputHandler
IMixedRealityInputHandler<
Single>
Assembly: cs.temp.dll.dll
public class PrefabSpawner : BaseFocusHandler, IMixedRealityInputHandler, IMixedRealityInputHandler<float>
Fields
Declaration
protected GameObject prefab
Field Value
Type |
Description |
GameObject |
|
Methods
Declaration
protected virtual void HandleTap()
Declaration
public override void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
protected virtual void SpawnableActivated(GameObject spawnable)
Parameters
Type |
Name |
Description |
GameObject |
spawnable |
|
Implements
IMixedRealityInputHandler
IMixedRealityInputHandler<>