ManipulateLocalStringVariableAction ​
Inherits: EventAction < Resource
Action to manipulate a local string variable
Properties ​
String | variable_key | "" |
StringOperation | operation | StringOperation.APPEND |
String | text | "" |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Enumerations ​
enum StringOperation ​
The options of string operation: append, prepend, remove.
- APPEND =
0 - PREPEND =
1 - REMOVE =
2
Property descriptions ​
String variable_key = "" ​
The name of the local variable.
StringOperation operation = StringOperation.APPEND ​
What to do with the text (append, prepend or remove).
String text = "" ​
The text for the operation.
Method descriptions ​
String get_function_description() ​
The sentence the editor shows for the action, with {placeholders} for its values.
Dictionary save() ​
The state of the action for a save.
void load_data( data: Dictionary ) ​
Restores the state of the action from a save.