Fix sometimes asset changes are lost

This commit is contained in:
VladV 2022-05-03 15:25:10 +03:00
parent 882768d4fe
commit ce579e0f1f

View File

@ -244,6 +244,8 @@ namespace TriInspector
for (var targetIndex = 0; targetIndex < PropertyTree.TargetObjects.Length; targetIndex++)
{
SetValueRecursive(this, value, targetIndex);
EditorUtility.SetDirty(PropertyTree.TargetObjects[targetIndex]);
}
// actualize