提交 914d57a0 编写于 作者: T tanghai

BehaviorTreeData不需要继承AConfig

上级 dd367794
using System;
using Model;
using Base;
using MongoDB.Bson.Serialization.Attributes;
namespace MyEditor
{
[BsonIgnoreExtraElements]
[Serializable]
public class BehaviorTreeData: AConfig
public class BehaviorTreeData
{
public long Id;
[BsonElement, BsonIgnoreIfNull]
public BehaviorNodeData BehaviorNodeData;
[BsonElement]
public string classify = "";
public BehaviorTreeData(): base(EntityType.Config)
public BehaviorTreeData()
{
this.Id = IdGenerater.GenerateId();
}
public BehaviorTreeData(long id): base(id, EntityType.Config)
public BehaviorTreeData(long id)
{
this.Id = id;
}
[BsonIgnore]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册