Add this component to the player prefab to block player input when Quest Machine sends "Pause Player" and "Unpause Player" messages, such as when opening and closing the dialogue UI. More...
Public Member Functions | |
void | OnMessage (MessageArgs messageArgs) |
Handles a message that the message handler is listening for. | |
Public Attributes | |
bool | blockPlayerInput = true |
EventInteraction | pausePlayerEvent |
EventInteraction | unpausePlayerEvent |
Protected Member Functions | |
virtual void | OnEnable () |
virtual void | OnDisable () |
void | SetComponentEnabled< T > (bool value) |
Add this component to the player prefab to block player input when Quest Machine sends "Pause Player" and "Unpause Player" messages, such as when opening and closing the dialogue UI.
You can also assign events to execute on these messages.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inline |
Handles a message that the message handler is listening for.
messageArgs | The message that was sent to the MessageSystem. |
Implements PixelCrushers.IMessageHandler.
|
inlineprotected |
T | : | MonoBehaviour |
bool PixelCrushers.QuestMachine.ORKSupport.ORKEventsOnPausePlayer.blockPlayerInput = true |
EventInteraction PixelCrushers.QuestMachine.ORKSupport.ORKEventsOnPausePlayer.pausePlayerEvent |
EventInteraction PixelCrushers.QuestMachine.ORKSupport.ORKEventsOnPausePlayer.unpausePlayerEvent |