TestCsharpTenProj
Project to test C#10 features in Unity(ofc oficially not supported)
Unity Project
Built with Unity 6000.0.58f2 · download the source from GitHub

Dependencies (43)
Unity UI 2.0.0Timeline 1.8.9JetBrains Rider Editor 3.0.37AI 1.0.0UI 1.0.0VR 1.0.0XR 1.0.0Input System 1.14.2Unity Version Control 2.10.2Wind 1.0.0AI Navigation 2.0.9Audio 1.0.0Cloth 1.0.0IMGUI 1.0.0Umbra 1.0.0Video 1.0.0Test Framework 1.5.1Physics 1.0.0Terrain 1.0.0Tilemap 1.0.0Visual Scripting 1.9.7Visual Studio Editor 2.0.23Director 1.0.0Vehicles 1.0.0Animation 1.0.0Physics 2D 1.0.0com.unity.modules.androidjni 1.0.0UI Elements 1.0.0com.unity.multiplayer.center 1.0.0Asset Bundle 1.0.0Accessibility 1.0.0JSON Serialize 1.0.0Screen Capture 1.0.0Particle System 1.0.0Terrain Physics 1.0.0Unity Analytics 1.0.0Image Conversion 1.0.0Unity Web Request 1.0.0Unity Web Request WWW 1.0.0Universal RP 17.0.4Unity Web Request Audio 1.0.0Unity Web Request Texture 1.0.0Unity Web Request Asset Bundle 1.0.0
README
TestC#10Proj
This is a very very test project to see which C# 10 features work in Unity 6. Features that was tested:
- File scoped namespaces
- Global usings
- Constant interpolated strings
- CallerArgumentException attribute
- Records (record struct)
- Improved pattern matching
All of them work fine in Editor, Mono and IL2CPP😎
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In