We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Namespace Microsoft.MixedReality.Toolkit.Utilities.GameObjectManagement

    Classes

    GameObjectCreator

    An abstract class used by the GameObjectPool for creating and recycling game objects.

    GameObjectPool

    Used to recycle Unity GameObjects. When ever you create GameObjects during runtime some overhead is incurred. Additionally memory can become highly fragment as well as possibly causing the garbage collector to perform a collection (which is also a performance hit). This is especially prevalent when you are spawning and destroying GameObjects of the same type very quickly in large quantities (such as bullets). The GameObject pool allows you to recycle objects so they can be reused upon request.

    GenericPrefabInstanceCreator

    Creator for making prefab instances

    Interfaces

    IGameObjectCreatorListener

    Optional interface that GameObjects (instantiated and recycled by a GameObjectPool) can implement in order to handle preparation for recycling and reuse.

    In This Article
    Back to top Generated by DocFX