Unity C# Script Samples:
This script chooses behaviors for the AI.
A simple UI script to manage a scroll list. Content is provided from a controller (not included).
Here are some nerdy things I’ve done on hobby projects because they sounded like fun to do:
This script allows for runtime deformations of skinned meshes. I’m sure artists have much more clever ways to do this that do not require code solutions, but it was a fun problem to solve.
Finally here is a C# Code Sample from my Xbox 360 days. There are a lot of interesting code samples from that time, however, this one seems a good balance of technical difficulty and relative isolation from other code:
Bone Intersection & Bleed Systems
This script calculates where a weapon impacts the skeleton of a skinned character for placement of a bleed particle system.