Inherits: Resource > Reference > Object
Array of StringVariable that can be saved in disk like a custom resource. Used as [Shared Variables] so that the data it holds can be accessed and modified from multiple parts of the code. Based on the idea of Unity’s Scriptable Objects and Ryan Hipple’s Unite Talk.
| type | property | default value |
|---|---|---|
| Array | value | [] |
| return type | method signature |
|---|---|
| null | push(Variant element) |
| null | erase(StringVariable element) |
| Array | get_string_array() |
Signal emitted when the Variable’s value is updated.
| Default | [] |
| Setter | _set_value |
| Getter | _get_value |
Shared Variable value