You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -65,7 +65,7 @@ void CanvasModulate::_bind_methods(){
|
||||
ClassDB::bind_method(_MD("set_color","color"),&CanvasModulate::set_color);
|
||||
ClassDB::bind_method(_MD("get_color"),&CanvasModulate::get_color);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::COLOR,"color"),_SCS("set_color"),_SCS("get_color"));
|
||||
ADD_PROPERTY(PropertyInfo(Variant::COLOR,"color"),"set_color","get_color");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user