Conversion of Red Rogue (by st33d) to Unity from Actionscript