Code Generation from Kotlin to C#

December 24, 2022 Programming, Design, Code-Generation, Kotlin, Csharp

After prototyping my game with KorGE, I hit a roadblock. I wanted more advanced features in my game, but the support from KorGE was not that good. It has problems with complex particles, camera movement, or z-indexing. So I decided to rewrite my game in Unity and C#. But I didn’t want to maintain the code base in 2 different languages. I wanted to keep the main codebase in Kotlin and generate most of the C# code. ...