Class EntitiesTests
Tests to cover the PolySpatial Entity support.
Inherited Members
Namespace: Unity.PolySpatial.Extensions.RuntimeTests
Assembly: Unity.PolySpatial.Extensions.Runtime.Tests.dll
Syntax
[TestFixture]
public class EntitiesTests
Methods
SpawnAndDestroyEntities()
Tests spawning and destroying entities in jobs from a prototype entity that has a material and mesh. Asserts that the spawned entities have valid instance IDs.
Declaration
[UnityTest]
public IEnumerator SpawnAndDestroyEntities()
Returns
Type | Description |
---|---|
IEnumerator | The IEnumerator for the test runner |