Most of my code is written by me but in some cases (mostly when I didn't have the knowledge required to come up with solution) I used AI to generate code. Most of the times I use it only to learn functionality of my framework instead of looking up tutorials (as I'm below junior in .NET and beginner in Unity) and implement this functionality myself.