mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-05 12:52:24 +08:00
Setting values from IList / IDictionary to source
This commit is contained in:
@ -26,7 +26,7 @@ namespace UnityExplorer.UI.CacheObject
|
||||
|
||||
public override bool ShouldAutoEvaluate => true;
|
||||
public override bool HasArguments => false;
|
||||
public override bool CanWrite => false; // TODO Parent.CanWrite;
|
||||
public override bool CanWrite => Owner.CanWrite;
|
||||
|
||||
public void SetDictOwner(InteractiveDictionary dict, int index)
|
||||
{
|
||||
@ -84,7 +84,7 @@ namespace UnityExplorer.UI.CacheObject
|
||||
|
||||
public override void TrySetUserValue(object value)
|
||||
{
|
||||
throw new NotImplementedException("TODO");
|
||||
(Owner as InteractiveDictionary).TrySetValueToKey(DictKey, value, DictIndex);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user