|
EasyTalk API
|
The DialogueStyleManager is used to modify the style of a Dialogue Display more easily than having to access individual components within the display. More...
Static Public Member Functions | |
| static void | ApplyStyle (DialogueStyle style, DialogueDisplay display) |
| Applies the specified DialogueStyle to the DialogueDisplay provided. | |
| static void | ApplyStyleToOptionDisplay (OptionDisplayStyle style, OptionDisplay display) |
| Applies the specified OptionDisplayStyle to the provided OptionDisplay. | |
| static void | ApplyStyleToDirectionalOptionDisplay (OptionDisplayStyle style, OptionDisplay display) |
| Applies the specified OptionDisplayStyle to the provided OptionDisplay if it is a Directional Option Display. | |
| static void | ApplyStyleToConvoDisplay (ConversationDisplayStyle style, ConversationDisplay display) |
| Applies the specified ConversationDisplayStyle to the ConversationDisplay provided. | |
| static void | ApplyStyleToContinuePanel (ContinueDisplayStyle style, ContinueDisplay continueDisplay) |
| Applies styling to the continue display provided. | |
| static ConversationDisplayStyle | CreateConversationDisplayStyle (ConversationDisplay display) |
| Creates a conversation display style from the provided conversation display. | |
| static OptionDisplayStyle | CreateOptionDisplayStyle (OptionDisplay display) |
| Creates a option display style from the provided option display. | |
| static ContinueDisplayStyle | CreateContinueDisplayStyle (ContinueDisplay display) |
| Creates a new continue display style from the provided continue display. | |
| static DialogueStyle | CreateStyle (DialogueDisplay display) |
| Creates a complete dialogue display style from the provided dialogue display. | |
| static void | ApplyColorTheme (ColorTheme colorTheme, DialogueDisplay display) |
| Applies the color theme specified to the provided dialogue display. | |
| static void | ApplyColorThemeToButton (ColorTheme colorTheme, DialogueButton button) |
| Applies the color theme specified to the provided dialogue button. | |
| static void | ApplyColorThemeToContinueButton (ColorTheme colorTheme, DialogueButton button) |
| Applies the specified color theme to the provided dialogue button. | |
| static void | ApplyFrameTheme (FrameTheme frameTheme, DialogueDisplay display) |
| Applies the specified frame theme to the provided dialogue display. | |
Static Protected Member Functions | |
| static void | ApplyStyleToCharacterNameText (ConversationDisplayStyle convoStyle, ConversationDisplay display) |
| Applies styling to the character name text provided. | |
| static void | ApplyStyleToCharacterNameBackgroundImage (ConversationDisplayStyle convoStyle, Image backgroundImage) |
| Applies styling to the character name background image provided. | |
| static void | ApplyStyleToConvoText (ConversationDisplayStyle convoStyle, ConversationDisplay display) |
| Applies styling to the provided dialogue/conversation text. | |
| static void | ApplyStyleToText (TextStyleSettings textStyleSettings, Text text) |
| Apply the style of the provided TextStyleSettings to the Unity Text component specified. | |
| static void | ApplyStyleToConvoImages (ConversationDisplayStyle convoStyle, ConversationDisplay convoDisplay) |
| Applies styling to the images of the conversation display provided. | |
| static void | ApplyStyleToOptionButton (OptionButtonStyle style, DialogueButton button) |
| Applies styling to the option button provided. | |
| static void | ApplyStyleToOptionPanel (OptionDisplayStyle style, OptionDisplay optionDisplay) |
| Applies styling to the option display provided. | |
| static void | ApplyOptionPanelImageSettingsToStyle (List< Image > optionPanelImages, OptionDisplayStyle style) |
| Applies and creates option panel image styles for the provided OptionDisplayStyle from the List of option display images provided. | |
| static void | ApplyOptionButtonToStyle (DialogueButton button, OptionButtonStyle style) |
| Applies the settings of the specified dialogue button to the provided option button style. | |
| static void | ApplyTextSettingsToStyle (TextStyleSettings styleSettings, Text text) |
| Apply the settings of the provided Unity Text component to the TextStyleSettings specified. | |
Static Private Member Functions | |
| static void | ApplyDirectionalDisplaySettingsToStyle (OptionDisplay display, OptionDisplayStyle style) |
| Applies the settings for link image colors and the main image color to the style provided if it's a directional option display. | |
The DialogueStyleManager is used to modify the style of a Dialogue Display more easily than having to access individual components within the display.
|
static |
Applies the color theme specified to the provided dialogue display.
| colorTheme | The color theme to apply. |
| display | The dialogue display to update. |
|
static |
Applies the color theme specified to the provided dialogue button.
| colorTheme | The color theme to apply. |
| button | The dialogue button to update. |
|
static |
Applies the specified color theme to the provided dialogue button.
| colorTheme | The color theme to apply. |
| button | The dialogue button to update. |
|
staticprivate |
Applies the settings for link image colors and the main image color to the style provided if it's a directional option display.
| display | The option display to apply settings from. |
| style | The style to apply settings to (only if the option display is a directional option display). |
|
static |
Applies the specified frame theme to the provided dialogue display.
| frameTheme | The frame theme to apply. |
| display | The dialogue display to update. |
|
staticprotected |
Applies the settings of the specified dialogue button to the provided option button style.
| button | The dialogue button to use. |
| style | The style to update. |
|
staticprotected |
Applies and creates option panel image styles for the provided OptionDisplayStyle from the List of option display images provided.
| optionPanelImages | The list of option panel images to create styles from. |
| style | The option display style to update. |
|
static |
Applies the specified DialogueStyle to the DialogueDisplay provided.
| style | The style to apply. |
| display | The dialogue display to update. |
|
staticprotected |
Applies styling to the character name background image provided.
| convoStyle | The style to apply. |
| backgroundImage | The background image to update. |
|
staticprotected |
Applies styling to the character name text provided.
| convoStyle | The style to apply. |
| display | The Conversation Display to update. |
|
static |
Applies styling to the continue display provided.
| style | The style to apply. |
| continueDisplay | The continue display to update. |
|
static |
Applies the specified ConversationDisplayStyle to the ConversationDisplay provided.
| style | The style to apply. |
| display | The conversation display to update. |
|
staticprotected |
Applies styling to the images of the conversation display provided.
| convoStyle | The style to apply. |
| convoDisplay | The conversation display to update. |
|
staticprotected |
Applies styling to the provided dialogue/conversation text.
| convoStyle | The style to apply. |
| display | The Conversation Display to update. |
|
static |
Applies the specified OptionDisplayStyle to the provided OptionDisplay if it is a Directional Option Display.
| style | The style to apply. |
| display | The option display to update (changes only applied if it is a directional option display). |
|
staticprotected |
Applies styling to the option button provided.
| style | The style to apply. |
| button | The dialogue button to update. |
|
static |
Applies the specified OptionDisplayStyle to the provided OptionDisplay.
| style | The style to apply. |
| display | The option display to update. |
|
staticprotected |
Applies styling to the option display provided.
| style | The style to apply. |
| optionDisplay | The option display to update. |
|
staticprotected |
Apply the style of the provided TextStyleSettings to the Unity Text component specified.
| textStyleSettings | The text style settings to apply. |
| text | The Text component to update. |
|
staticprotected |
Apply the settings of the provided Unity Text component to the TextStyleSettings specified.
| styleSettings | The text style settings to update. |
| text | The Text component to retrieve settings from. |
|
static |
Creates a new continue display style from the provided continue display.
| display | The continue display to create a style from. |
|
static |
Creates a conversation display style from the provided conversation display.
| display | The conversation display to create a style from. |
|
static |
Creates a option display style from the provided option display.
| display | The option display to create a style from. |
|
static |
Creates a complete dialogue display style from the provided dialogue display.
| display | The dialogue display to create a style from. |