1
0
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:
Hein-Pieter van Braam
2017-02-12 01:11:37 +01:00
parent 70b9aa379d
commit 0f687f0ccb
167 changed files with 1192 additions and 1195 deletions

View File

@@ -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(){