Net.Project.B/Src/WorldNode/UnityContainerNode.cs

28 lines
617 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using BITKit;
using BITKit.WorldNode;
#if UNITY_5_3_OR_NEWER
using UnityEngine;
#endif
namespace Net.Project.B.WorldNode
{
[Serializable]
public class UnityContainerNode :RuntimeItemContainer,IWorldNode,IRuntimeItemContainer
{
public bool allowAdd;
public bool addRemove=true;
/// <summary>
/// 添加物品
/// </summary>
public bool AllowAdd => allowAdd;
/// <summary>
/// 移除物品
/// </summary>
public bool AllowRemove => addRemove;
}
}