public static void WriteAlignedString(this UnityBinaryWriter writer, string str) { writer.WriteString(str); writer.Align(4); }