File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ public void BasicTest() {
208
208
AssertAreIdentical ( m_originalRep , History ( m_manualPrefab ) ) ;
209
209
210
210
// Make sure we got the right changes.
211
+ Assert . AreEqual ( 1 , updateSet . NumUpdates ) ;
211
212
Assert . That ( updateSet . Updated , Is . EquivalentTo ( new string [ ] {
212
213
// TODO: UNI-24579 - we should only be seeing Parent3 here,
213
214
// the other two are for transform changes, but
Original file line number Diff line number Diff line change @@ -1042,9 +1042,11 @@ public void SetSourceModel(GameObject fbxModel) {
1042
1042
/// by the updatedInstance. Those changes will be applied to the prefab.
1043
1043
///
1044
1044
/// The updatedObjects include all objects in the temporary instance
1045
- /// that were created, plus all objects which had a component get
1046
- /// created, destroyed, or updated. You get notification for objects
1047
- /// that were destroyed.
1045
+ /// that were:
1046
+ /// - created, or
1047
+ /// - changed parent, or
1048
+ /// - had a component that was created, destroyed, or updated.
1049
+ /// There is no notification for entire objects that were destroyed.
1048
1050
/// </summary>
1049
1051
public delegate void HandleUpdate ( FbxPrefab updatedInstance , IEnumerable < GameObject > updatedObjects ) ;
1050
1052
You can’t perform that action at this time.
0 commit comments