docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator explicit operator

    explicit operator RefRO<T>(RefRW<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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)