mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    • Classes
    • Interfaces
    Back to top Generated by DocFX