Component > Dialogue System > Trigger > On Dialogue Event > Cinemachine Priority On Dialogue Event
Sets the priority of a Cinemachine Virtual Camera when a dialogue event occurs.
Property | Function |
---|---|
Trigger | The dialogue event trigger |
Once | Do once and then destroy this component |
Virtual Camera | Control the priority of this virtual camera |
On Start | Set the virtual camera to this priority when the start event occurs (e.g., "OnConversationStart") |
On End | Set the virtual camera to this priority when the end event occurs (e.g., "OnConversationEnd") |
For general information about Cinemachine support in the Dialogue System, see Cinemachine Support.
This component is generally used to ease into a conversation camera at the start of a conversation, and ease back out to the gameplay camera at the end of a conversation. To use it this way, add the component to the NPC. Then assign a Cinemachine Virtual Camera that's been configured to frame the conversation the way you want.
<< Components