|
void | LoadTextBinding (string key, Func< string[], string > func) |
| Registers a text binding key and its associated function for dynamic text replacement.
|
bool | UnloadTextBinding (string key) |
| Removes a registered text binding by key.
|
void | StartMonolog (TextAsset text) |
| Starts a new monologue sequence and displays the first line.
|
◆ LoadTextBinding()
void MonologueManager.LoadTextBinding |
( |
string | key, |
|
|
Func< string[], string > | func ) |
|
inline |
Registers a text binding key and its associated function for dynamic text replacement.
- Parameters
-
key | Unique identifier for the text binding. |
func | Function to call when the binding is encountered. |
◆ StartMonolog()
void MonologueManager.StartMonolog |
( |
TextAsset | text | ) |
|
|
inline |
Starts a new monologue sequence and displays the first line.
- Parameters
-
text | TextAsset containing the monologue script. |
◆ UnloadTextBinding()
bool MonologueManager.UnloadTextBinding |
( |
string | key | ) |
|
|
inline |
Removes a registered text binding by key.
- Parameters
-
key | Text binding key to remove. |
- Returns
- if the binding existed and was removed successfully
◆ chatContainer
GameObject MonologueManager.chatContainer |
◆ Instance
◆ nextImage
GameObject MonologueManager.nextImage |
◆ textLabel
TMP_Text MonologueManager.textLabel |
◆ typingSpeed
int MonologueManager.typingSpeed = 15 |
The documentation for this class was generated from the following file: