Add this to the Dialogue Manager to support animated portraits in Unity UI Dialogue UIs. More...
Public Member Functions | |
void | OnConversationLine (Subtitle subtitle) |
When speaking a line, update the appropriate portrait image with the speaker's animated portrait animator controller. | |
void | OnConversationResponseMenu (Response[] responses) |
When showing the response menu, update the subtitle reminder image with the last speaker's animated portrait animator controller. | |
void | OnConversationEnd (Transform actor) |
When ending the conversation, clear the cache of animated portraits. | |
Add this to the Dialogue Manager to support animated portraits in Unity UI Dialogue UIs.
Participants' GameObjects must have AnimatedPortrait components.
|
inline |
When ending the conversation, clear the cache of animated portraits.
actor | Actor. |
|
inline |
When speaking a line, update the appropriate portrait image with the speaker's animated portrait animator controller.
subtitle | Subtitle. |
|
inline |
When showing the response menu, update the subtitle reminder image with the last speaker's animated portrait animator controller.
responses | Responses. |