20 lines
553 B
Markdown
20 lines
553 B
Markdown
Runtime tools
|
|
* Addon: godot-console
|
|
* Addon: godot-debug-menu-demo => display FPS
|
|
* os.has_feature("editor"), os.has_feature("debug"), os.has_feature("debug") to conditionally toggle
|
|
|
|
https://youtu.be/7gnozJ7KPK4?si=IvqeIRyLJSed2mhV
|
|
|
|
Tool Scripts: Make script available from inside the editor
|
|
@tool at top of script
|
|
![[Pasted image 20250322152916.png]]
|
|
|
|
|
|
---
|
|
|
|
|
|
![[Pasted image 20250322153032.png]]
|
|
![[Pasted image 20250322153057.png]]
|
|
|
|
=> Engine.is_editor_hint() to check if script is running in editor, disable functionality when inside editor
|
|
|