These are some examples of what kind of code I write and how I write it. Most of these examples are from projects where I had to work in a team and I often had to collaborate with one or two other programmers before we reached a final product. All examples were done in Unity C#.

Generic Trigger - Made for level designers to use to trigger events

EnviroMovement - Made to move objects when triggered by Generic Trigger

Character Switch - Made to switch player control between two characters

Array Prototype - Made for storing large amounts of data and randomly selecting data