The Godot Barn
Sign in
Sign in
Home
News & updates
Explore
Tutorials
Articles
Snippets
Shaders
Submit content
Sign in to submit content
Give or get help
Questions
Conversations
Coming soon!
test
Recent snippets tagged «test»
1
2
## debugger.gd class_name Debugger ## This function checks all exported properties of a Node to see if there are any unassigned in the editor. ## If there are unassigned properties, it will run into an error and pause the editor. static func assert_all_exported_properties(node: Node) -> void: var script: Script = node.get_script() var property_list: Array[Dictionary] = script.get_script_property_list()
Assert references of exported properties of a Node
wchc
Dec 19th, 2024
This method helps you identify missing references in @export variables
Godot
4.x
assert
test
export
variable
Filters
Contents containing
Language
GDScript
C#
Both
License
All licenses
CC-BY
CC0
GPLv3
AGPLv3
MIT
Unlicense
Godot version(s)
All versions
Godot 3.x
Godot 4.x
Godot 4.0
Godot 4.1
Godot 4.2
Godot 4.3
Godot 4.4
Reset filters
Apply filters
Popular tags recently
functions
first-person
bus
autoload
ui
log
mesh
primitive
debug
fps
frames
camera3d
controller
crystal
mouse
Please wait ...
Okay
Okay
No
Yes
Okay