You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #10351 from neikeq/enums-are-for-the-weak
ClassDB: Provide the enum name of integer constants
This commit is contained in:
@@ -204,8 +204,8 @@ void Timer::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "one_shot"), "set_one_shot", "is_one_shot");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "autostart"), "set_autostart", "has_autostart");
|
||||
|
||||
BIND_CONSTANT(TIMER_PROCESS_FIXED);
|
||||
BIND_CONSTANT(TIMER_PROCESS_IDLE);
|
||||
BIND_ENUM_CONSTANT(TIMER_PROCESS_FIXED);
|
||||
BIND_ENUM_CONSTANT(TIMER_PROCESS_IDLE);
|
||||
}
|
||||
|
||||
Timer::Timer() {
|
||||
|
||||
Reference in New Issue
Block a user