BindableProperty<T> T为ScriptableObject类型时,无法正确赋值
SciMagic opened this issue · 1 comments
SciMagic commented
public T Value
{
get => GetValue();
set
{
if (value == null && mValue == null) return;
if (value != null && value.Equals(mValue)) return;
SetValue(value);
mOnValueChanged?.Invoke(value);
}
}
其中value.Equals(mValue) alway true
SciMagic commented
ScriptableObject 不能直接赋值,与QFramework无关