classes/class_@globalscope #81
Replies: 9 comments 3 replies
-
|
Note to anyone who does not know the C# equivalent to the GDScript it's |
Beta Was this translation helpful? Give feedback.
-
|
The Property Usage Flags for Exported variables is PROPERTY_USAGE_STORAGE + PROPERTY_USAGE_EDITOR + PROPERTY_USAGE_SCRIPT_VARIABLE. I feel like this should be written down in the documentation somewhere. |
Beta Was this translation helpful? Give feedback.
-
|
I don't know if this is correct, but the numbers fit. |
Beta Was this translation helpful? Give feedback.
-
|
Here is a Desmos graph of the |
Beta Was this translation helpful? Give feedback.
-
|
For example, if you want to convert a vector string produced by |
Beta Was this translation helpful? Give feedback.
-
|
In the GDScript example code for var drink = "water"
func _ready():
var id = get_instance_id()
var instance = instance_from_id(id)
print(instance.foo) # Prints "water"in the last line should be |
Beta Was this translation helpful? Give feedback.
-
|
For the
|
Beta Was this translation helpful? Give feedback.
-
|
The documentation for |
Beta Was this translation helpful? Give feedback.
-
|
I wonder why |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_@globalscope
Global scope constants and functions. Description: A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keyc...
https://docs.godotengine.org/en/stable/classes/class_%40globalscope.html
Beta Was this translation helpful? Give feedback.
All reactions