StringVariableArray

Inherits: Resource > Reference > Object

Description

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.

Properties

type property default value
Array value []

Methods

return type method signature
null push(Variant element)
null erase(StringVariable element)
Array get_string_array()

Signals

  • value_updated()

Signal emitted when the Variable’s value is updated.


Properties Descriptions

value

Default []
Setter _set_value
Getter _get_value

Shared Variable value


Method Descriptions

push


erase


get_string_array

  • Array get_string_array()