Enforce safe static typing in GDScript as much as possible

This commit is contained in:
Jarrod Doyle 2024-02-22 17:42:05 +00:00
parent b2a49487f2
commit 7ced8ec3ed
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@ config/name="Character Controller"
config/features=PackedStringArray("4.2", "Forward Plus") config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[debug]
gdscript/warnings/untyped_declaration=2
gdscript/warnings/unsafe_property_access=2
gdscript/warnings/unsafe_method_access=2
gdscript/warnings/unsafe_cast=1
gdscript/warnings/unsafe_call_argument=2
[dotnet] [dotnet]
project/assembly_name="Character Controller" project/assembly_name="Character Controller"