Whoops, the Partition and Vertex classes need to be Serializable too.

This commit is contained in:
wfowler
2018-07-27 01:50:26 -06:00
parent bceac9031a
commit f251bb8137

View File

@@ -40,7 +40,7 @@ namespace LibBSP {
// TODO: Constructor to parse text
}
public class Partition {
[Serializable] public class Partition {
public int unknown1;
public int unknown2;
public string shader;
@@ -68,7 +68,7 @@ namespace LibBSP {
}
}
public class Vertex {
[Serializable] public class Vertex {
public int height;
public string unknown1;
public string unknown2;