docs.unity.cn
    Show / Hide Table of Contents

    Struct NativeReference<T>.ReadOnly

    A read-only alias for the value of a NativeReference. Does not have its own allocated storage.

    Namespace: Unity.Collections
    Syntax
    [NativeContainer]
    [NativeContainerIsReadOnly]
    public struct ReadOnly

    Properties

    Value

    The value aliased by this reference.

    Declaration
    public readonly T Value { get; }
    Property Value
    Type Description
    T

    The value aliased by the reference.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, August 3, 2022
    Terms of use