mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-05-01 00:38:59 +08:00
fix: record prefab instance property modifications
This commit is contained in:
parent
86bdf934cc
commit
8b09313939
@ -82,6 +82,8 @@ namespace nadena.dev.modular_avatar.core.editor.ShapeChanger
|
|||||||
ChangeType = ShapeChangeType.Delete,
|
ChangeType = ShapeChangeType.Delete,
|
||||||
Value = 100
|
Value = 100
|
||||||
});
|
});
|
||||||
|
|
||||||
|
PrefabUtility.RecordPrefabInstancePropertyModifications(changer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnGUI(Rect rect)
|
public override void OnGUI(Rect rect)
|
||||||
|
@ -97,6 +97,8 @@ namespace nadena.dev.modular_avatar.core.editor.ShapeChanger
|
|||||||
ChangeType = ShapeChangeType.Delete,
|
ChangeType = ShapeChangeType.Delete,
|
||||||
Value = 100
|
Value = 100
|
||||||
});
|
});
|
||||||
|
|
||||||
|
PrefabUtility.RecordPrefabInstancePropertyModifications(changer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user