diff --git a/LibBSP/Source/Structs/Common/UIVertex.cs b/LibBSP/Source/Structs/Common/UIVertex.cs index 969908c..624364b 100644 --- a/LibBSP/Source/Structs/Common/UIVertex.cs +++ b/LibBSP/Source/Structs/Common/UIVertex.cs @@ -17,10 +17,10 @@ namespace LibBSP { using Vector4 = Vector4d; #endif /// - /// Replacement UIVertex struct for Unity versions before 4.6, and standalone projects. + /// Replacement UIVertex struct for Unity versions before 4.6, and standalone projects. /// - /// 4.5 had UIVertex but the implementation was incomplete. - public struct UIVertex { + /// Unity 4.5 had UIVertex but the implementation was incomplete. + [Serializable] public struct UIVertex { public Color32 color; public Vector3 normal; public Vector3 position; @@ -28,6 +28,9 @@ namespace LibBSP { public Vector2 uv0; public Vector2 uv1; + /// + /// Simple UIVertex with sensible settings. + /// public static UIVertex simpleVert { get { return new UIVertex {