- Switch to PascalCase for constants names
Fixes #12973.
- Allow non-public fields to be exported as well (to avoid confusion). - Set PROPERTY_HINT_RESOURCE_TYPE for resource derived fields. - Support enums and automatically fill PROPERTY_HINT_ENUM's hint_string for enum fields.
Old implementation had issues where you could only await on the same signal of the same source once.