提交 9fbed662 编写于 作者: T tanghai

Entity的components使用别名"C",以免占用空间过多

上级 5f5b3918
fileFormatVersion: 2
guid: 7c53f2d83b6153a47ab75bf18c7a96f1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -8,7 +8,7 @@ namespace ETModel
[BsonIgnoreExtraElements]
public class Entity : ComponentWithId
{
[BsonElement]
[BsonElement("C")]
[BsonIgnoreIfNull]
private HashSet<Component> components;
......
......@@ -8,7 +8,7 @@ namespace ETHotfix
[BsonIgnoreExtraElements]
public class Entity : ComponentWithId
{
[BsonElement]
[BsonElement("C")]
[BsonIgnoreIfNull]
private HashSet<Component> components;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册