// set up facings and zRot values protected void SetFacingsAndZRot() { zRot = (int)transform.eulerAngles.z; // set z rotation // set facing and opposite facing depending on the z rotation facing = PhysicsUtilities.GetFacingDirection(zRot); oppositeFacing = PhysicsUtilities.GetFacingDirection(zRot, true); }