• Mark an Object3D or component as not destroyable

    Parameters

    • instance: IComponent | Object3D<Object3DEventMap>

      the object to be marked as not destroyable

    • value: boolean = true

      true if the object should not be destroyed in destroy

    Returns void