Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -36,7 +36,7 @@ void MultiMeshInstance::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(_MD("set_multimesh","multimesh"),&MultiMeshInstance::set_multimesh);
|
||||
ClassDB::bind_method(_MD("get_multimesh"),&MultiMeshInstance::get_multimesh);
|
||||
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"multimesh",PROPERTY_HINT_RESOURCE_TYPE,"MultiMesh"), _SCS("set_multimesh"), _SCS("get_multimesh"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"multimesh",PROPERTY_HINT_RESOURCE_TYPE,"MultiMesh"), "set_multimesh", "get_multimesh");
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user