docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EntitiesTests

    Tests to cover the PolySpatial Entity support.

    Inheritance
    object
    EntitiesTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)