Immerseum.VRSimulator Namespace > EventManager Class : endInstantiateController Method |
Fires the OnInstantiateControllerEnd 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 endInstantiateController( int controller, bool removeCollider )
// Ends the instantation process for both simulated controllers, applying a collider based on
// ControllerManager properties.
EventManager.endInstantiateController(0, !ControllerManager.applyCollider);
EventManager.endInstantiateController(1, !ControllerManager.applyCollider);