Skip to content

SetLocalFloatVariableAction ​

Inherits: EventAction < Resource

Action to set a local float variable to a specific value

Properties ​

Stringvariable_key""
floatvalue0.0

Methods ​

Stringget_function_description()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

String variable_key = "" ​

The name of the local variable.

float value = 0.0 ​

The decimal number to set.

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.