The core of the Unity platform is written in C++, with a C# API layer that your code can interact with. However, many recent systems are coded completely in C#, for example the Unity Input System. Learn more about the architecture of Unity code in the documentation.