We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9e399 commit 9a5f561Copy full SHA for 9a5f561
Assets/FbxExporters/Editor/UnitTests/ConvertToModelTest.cs
@@ -214,7 +214,8 @@ public void MapNameToSourceTest()
214
Assert.AreEqual(sphere.name, dictionary[sphere.name].name);
215
Assert.AreEqual(quad.name, dictionary[quad.name].name);
216
217
- Assert.AreNotSame(cube.GetInstanceID(), cube2.GetInstanceID());
+ //the dictionary size should be equal to the amount of children + the parent
218
+ Assert.True(dictionary.Count == cube.transform.childCount + 1);
219
}
220
221
0 commit comments