docs.unity.cn
    Show / Hide Table of Contents

    Operator Explicit

    Explicit(RefRW<T> to RefRO<T>)

    Convert into a read-only version RefRO of this RefRW

    Declaration
    public static explicit operator RefRO<T>(RefRW<T> refRW)
    Parameters
    Type Name Description
    RefRW<T> refRW

    The read-write reference to convert to read-only

    Returns
    Type Description
    RefRO<T>

    Returns a RefRO

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