Show example of casting get_node() for inferred static typing in style guide

This commit is contained in:
zacryol
2021-10-22 11:04:56 -06:00
parent 31264d4324
commit 35211f6002
2 changed files with 14 additions and 0 deletions
@@ -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
^^^^^^^^^^