docs.unity.cn
    Show / Hide Table of Contents

    Method WithWorld

    WithWorld(String)

    Get all records matching a world name.

    Declaration
    [ExcludeFromBurstCompatTesting("LINQ")]
    public static EntitiesJournaling.RecordView[] WithWorld(string name)
    Parameters
    Type Name Description
    String name

    The world name.

    Returns
    Type Description
    EntitiesJournaling.RecordView[]

    Array of EntitiesJournaling.RecordView.

    Remarks

    Throws InvalidOperationException if records are currently locked for write.

    WithWorld(UInt64)

    Get all records matching a world sequence number.

    Declaration
    [ExcludeFromBurstCompatTesting("LINQ")]
    public static EntitiesJournaling.RecordView[] WithWorld(ulong sequenceNumber)
    Parameters
    Type Name Description
    UInt64 sequenceNumber
    Returns
    Type Description
    EntitiesJournaling.RecordView[]

    Array of EntitiesJournaling.RecordView.

    Remarks

    Throws InvalidOperationException if records are currently locked for write.

    WithWorld(World)

    Get all records matching an existing world.

    Declaration
    [ExcludeFromBurstCompatTesting("LINQ")]
    public static EntitiesJournaling.RecordView[] WithWorld(World world)
    Parameters
    Type Name Description
    World world
    Returns
    Type Description
    EntitiesJournaling.RecordView[]

    Array of EntitiesJournaling.RecordView.

    Remarks

    Throws InvalidOperationException if records are currently locked for write.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023