Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

godot variablen einen wert hinzufügen

# Define a format string with placeholder '%s'
var format_string = "We're waiting for %s."

# Using the '%' operator, the placeholder is replaced with the desired value
var actual_string = format_string % "Godot"

print(actual_string)
# Output: "We're waiting for Godot."
Source by docs.godotengine.org #
 
PREVIOUS NEXT
Tagged: #godot #variablen #einen #wert
ADD COMMENT
Topic
Name
6+8 =