docs.unity3d.com
Search Results for

    About Roslyn

    Version of Roslyn compiler distributed as package, which enables the use of Roslyn source generators for code generation. This package provides no public APIs, and no user-facing features. It is currently in preview, and is compatible with Unity 2020.2 and newer.

    Installing Roslyn

    To install this package, follow the instructions in the Package Manager documentation.

    Technical details

    Requirements

    This version of Roslyn is compatible with the following versions of the Unity Editor:

    • 2020.2 and later (recommended)
    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)