YarnCommandBinding
Binds a Yarn command or function to a method on a node.
class_name YarnCommandBinding
extends ResourceInherits from Resource
#Nested Types
- Type enum
#Properties
#description
Documentation only - not used at runtime.
var description: String = ""Type String
#enabled
var enabled: bool = trueType bool
#example
Documentation only - not used at runtime.
var example: String = ""Type String
#method_name
Commands can return void or Signal. Functions must return a value.
var method_name: String = ""Type String
#parameter_count
Only for FUNCTION type. The VM needs this to pop the right number of stack values.
var parameter_count: int = 0Type int
#target_node
Resolved relative to the YarnBindingLoader node.
var target_node: NodePathType NodePath
#type
var type: int = 0Type int
#yarn_name
The name used in Yarn scripts (snake_case).
var yarn_name: String = ""Type String
#Methods
#get_configuration_warnings()
func get_configuration_warnings() -> PackedStringArrayReturns PackedStringArray
#is_valid()
func is_valid() -> boolReturns bool
Generated from Yarn Spinner for Godot GDScript 3.3.