PixelCrushers.DialogueSystem.plyGame.ConversationController Class Reference

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...

Inheritance diagram for PixelCrushers.DialogueSystem.plyGame.ConversationController:
Collaboration diagram for PixelCrushers.DialogueSystem.plyGame.ConversationController:

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
 

Detailed Description

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.

Member Enumeration Documentation

◆ AIControllerMode

Member Data Documentation

◆ aiControllerMode

AIControllerMode PixelCrushers.DialogueSystem.plyGame.ConversationController.aiControllerMode = AIControllerMode.Disable

◆ alsoDisableDuringConversations

MonoBehaviour [] PixelCrushers.DialogueSystem.plyGame.ConversationController.alsoDisableDuringConversations = new MonoBehaviour[0]

This is an optional list of additional MonoBehaviours to disable during conversations.

◆ animationOnConversationStart

AnimationClip PixelCrushers.DialogueSystem.plyGame.ConversationController.animationOnConversationStart = null

◆ animatorStateOnStart

string PixelCrushers.DialogueSystem.plyGame.ConversationController.animatorStateOnStart = string.Empty

The documentation for this class was generated from the following file: