This component provides methods to freeze and unfreeze the UFPS player. More...
Public Member Functions | |
delegate bool | CanShowCursorDelegate () |
void | OnConversationStart (Transform actor) |
When a conversation starts, freeze the UFPS player (i.e., gameplay) and show the cursor. | |
void | OnConversationEnd (Transform actor) |
When a conversation ends, unfreeze the UFPS player (i.e., gameplay) and restore the previous cursor state. | |
void | Freeze () |
Freeze the UFPS player (i.e., gameplay) and show the cursor. | |
void | Unfreeze () |
Unfreeze the UFPS player (i.e. | |
Public Attributes | |
bool | hideHUD = true |
bool | freezeDuringConversations = true |
bool | disableInputOnFreeze = true |
bool | lockCursorOnStart = true |
bool | lockCursorOnFreeze = true |
UnityEvent | onFreeze = new UnityEvent() |
UnityEvent | onUnfreeze = new UnityEvent() |
CanShowCursorDelegate | CanShowCursor = null |
This component provides methods to freeze and unfreeze the UFPS player.
It also freezes the player during conversations.
delegate bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.CanShowCursorDelegate | ( | ) |
|
inline |
Freeze the UFPS player (i.e., gameplay) and show the cursor.
|
inline |
When a conversation ends, unfreeze the UFPS player (i.e., gameplay) and restore the previous cursor state.
actor | Actor participating in the conversation. |
|
inline |
When a conversation starts, freeze the UFPS player (i.e., gameplay) and show the cursor.
actor | Actor participating in the conversation. |
|
inline |
Unfreeze the UFPS player (i.e.
gameplay) and restore the previous cursor state.
CanShowCursorDelegate PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.CanShowCursor = null |
bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.disableInputOnFreeze = true |
bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.freezeDuringConversations = true |
bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.hideHUD = true |
bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.lockCursorOnFreeze = true |
bool PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.lockCursorOnStart = true |
UnityEvent PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.onFreeze = new UnityEvent() |
UnityEvent PixelCrushers.DialogueSystem.UFPSSupport.FPFreezePlayer.onUnfreeze = new UnityEvent() |