Add this to the Dialogue Manager to support animated portraits in Unity UI Dialogue UIs.
More...
Add this to the Dialogue Manager to support animated portraits in Unity UI Dialogue UIs.
Participants' GameObjects must have AnimatedPortrait components.
◆ OnConversationEnd()
void PixelCrushers.DialogueSystem.UseAnimatedPortraits.OnConversationEnd |
( |
Transform |
actor | ) |
|
When ending the conversation, clear the cache of animated portraits.
- Parameters
-
◆ OnConversationLine()
void PixelCrushers.DialogueSystem.UseAnimatedPortraits.OnConversationLine |
( |
Subtitle |
subtitle | ) |
|
When speaking a line, update the appropriate portrait image with the speaker's animated portrait animator controller.
- Parameters
-
◆ OnConversationResponseMenu()
void PixelCrushers.DialogueSystem.UseAnimatedPortraits.OnConversationResponseMenu |
( |
Response[] |
responses | ) |
|
When showing the response menu, update the subtitle reminder image with the last speaker's animated portrait animator controller.
- Parameters
-
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Release/Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/Animated Portraits/UseAnimatedPortraits.cs