mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
Show example of casting get_node() for inferred static typing in style guide
This commit is contained in:
@@ -178,6 +178,8 @@ get full autocompletion on the player variable thanks to that cast.
|
||||
|
||||
If you try to cast with a built-in type and it fails, Godot will throw an error.
|
||||
|
||||
.. _doc_gdscript_static_typing_safe_lines:
|
||||
|
||||
Safe lines
|
||||
^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user