Fix some DEFVALs to use the right type

- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
This commit is contained in:
Raul Santos 2024-01-30 21:03:28 +01:00
parent 16d61427ca
commit 5ba92e5a57
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
27 changed files with 343 additions and 74 deletions

View file

@ -344,6 +344,10 @@ protected:
void _notification(int p_notification);
static void _bind_methods();
#ifndef DISABLE_DEPRECATED
static void _bind_compatibility_methods();
#endif
// Exposed virtual methods.
GDVIRTUAL1RC(bool, _has_point, Vector2)