Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualScriptReturn¶
Inherits: VisualScriptNode < Resource < Reference < Object
Sale de una función y devuelve un valor opcional.
Descripción¶
Termina la ejecución de una función y devuelve el control a la función de llamada. Opcionalmente, puede devolver un valor Variant.
Puertos de entrada:
Secuencia
Datos (variante):
result
(opcional)
Puertos de salida:
ninguno
Propiedades¶
|
||
|
Descripciones de Propiedades¶
bool return_enabled
Default |
|
Setter |
set_enable_return_value(value) |
Getter |
is_return_value_enabled() |
Si true
, el puerto de entrada de return
está disponible.
Variant.Type return_type
Default |
|
Setter |
set_return_type(value) |
Getter |
get_return_type() |
El tipo de datos del valor de retorno.