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