added some stuff for a version of Unity that isn't yet available...