This component attempts to disable standard plyGame camera and character control components during conversations, to prevent the player from walking away from the conversation or moving the camera while the conversation is attempting to move it. More...
Public Types | |
enum | AIControllerMode { AIControllerMode.Disable, AIControllerMode.Stay } |
Public Attributes | |
MonoBehaviour[] | alsoDisableDuringConversations = new MonoBehaviour[0] |
This is an optional list of additional MonoBehaviours to disable during conversations. More... | |
AnimationClip | animationOnConversationStart = null |
string | animatorStateOnStart = string.Empty |
AIControllerMode | aiControllerMode = AIControllerMode.Disable |
This component attempts to disable standard plyGame camera and character control components during conversations, to prevent the player from walking away from the conversation or moving the camera while the conversation is attempting to move it.
If automatically finds the default plyGame controllers, but you can also add additional MonoBehaviours to be disabled to the alsoDisableDuringConversations list.
AIControllerMode PixelCrushers.DialogueSystem.plyGame.ConversationController.aiControllerMode = AIControllerMode.Disable |
MonoBehaviour [] PixelCrushers.DialogueSystem.plyGame.ConversationController.alsoDisableDuringConversations = new MonoBehaviour[0] |
This is an optional list of additional MonoBehaviours to disable during conversations.
AnimationClip PixelCrushers.DialogueSystem.plyGame.ConversationController.animationOnConversationStart = null |
string PixelCrushers.DialogueSystem.plyGame.ConversationController.animatorStateOnStart = string.Empty |