Unity C# Script Samples:

AI Behavior

Screen Shot 2016-06-09 at 4.30.10 PM

This script chooses behaviors for the AI.


UI Scroll List

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:

3D Mesh Body Deform

Screen Shot 2016-06-09 at 4.08.57 PM

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

Screen Shot 2016-06-09 at 4.47.01 PM

This script calculates where a weapon impacts the skeleton of a skinned character for placement of a bleed particle system.