AI

Claude Code Notes 2 - Building a Unity Framework

I got curious about what kind of Unity Framework Claude Code would come up with.

  • Unity
  • AI
  • Framework
Contents

While working on Claude Code Notes 1 - Building a Localization Package, I started wanting to build my own Unity Framework using Claude.

Game Framework

Before

After shipping a few games, I had built a Game Framework based on the things I kept needing repeatedly, and I’d been continuously updating it.

I was tweaking it as usual, when I suddenly got curious about how Claude Code would structure and write the code — so this became that experiment.

Building with Claude Code

I asked it to set up the basic structure like this:

  • Data management via DI-style VContainer
  • Data tables with Google Sheets integration, loaded at runtime using MemoryPack
  • Addressables made as easy to use as possible
  • Include the Localization from Notes 1
  • GUI built with UIToolkit, actively leveraging SettingsProvider
  • Documentation implemented with Gitbook

And here’s what came out.

Check out AchEngine

I tried out all the various features, and aside from a tiny bit of fumbling at the start, everything was solid enough to actually use. The documentation it wrote is also impressively good…

And having it generate the docs and lay everything out like that makes it look really legit. I’m planning to keep wrestling with my brain + Claude Code to make this even better than the original Game Framework.

🐣 The fact that it builds UIToolkit stuff so well… I love it…

Comments