You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -117,7 +117,7 @@ void ShortCut::_bind_methods() {
|
||||
ClassDB::bind_method(_MD("is_shortcut","event"),&ShortCut::is_shortcut);
|
||||
ClassDB::bind_method(_MD("get_as_text"),&ShortCut::get_as_text);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INPUT_EVENT,"shortcut"),_SCS("set_shortcut"),_SCS("get_shortcut"));
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INPUT_EVENT,"shortcut"),"set_shortcut","get_shortcut");
|
||||
}
|
||||
|
||||
ShortCut::ShortCut(){
|
||||
|
||||
Reference in New Issue
Block a user