Immerseum.VRSimulator Namespace > InputActionManager Class : isActionRegistered Method |
InputAction myInputAction = new InputAction(); myInputAction.name = "myInputAction"; InputAction otherInputAction = newInputAction(); otherInputAction.name = "otherInputAction"; InputActionManager.addInputAction(myInputAction); bool isMyInputActionRegistered = InputActionManager.isActionRegistered("myInputAction"); // Returns true. bool isOtherInputActionRegistered = InputActionManager.isActionRegistered("otherInputAction"); // Returns false.