Immerseum.VRSimulator Namespace > EventManager Class : instantiateController Method |
Fires the OnInstantiateController event.
Be Aware | |
Listeners are expected to have a return type of void and to accept the same parameters as this method (see below). |
public static void instantiateController( int controller, bool removeCollider )
// Instantiates both simulated controllers, applying a collider based on
// ControllerManager properties.
EventManager.instantiateController(0, !ControllerManager.applyCollider);
EventManager.instantiateController(1, !ControllerManager.applyCollider);