升级项目后出现此错误 错误CS0121:
The call is ambiguous between the following methods or properties:
'ReorderableAttribute.ReorderableAttribute(bool, bool, bool, string, string)' and
'ReorderableAttribute.ReorderableAttribute(bool, bool, bool, string, string, string)'
这是完整的代码
public ReorderableAttribute()
: this(null)
{
}
public ReorderableAttribute(string elementNameProperty)
: this(add: true, remove: true, draggable: true, elementNameProperty)
{
}
public ReorderableAttribute(string elementNameProperty, string elementIconPath)
: this(add: true, remove: true, draggable: true, elementNameProperty, null, elementIconPath)
{
}