2025-03-03 18:43:55 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
2025-06-26 23:34:50 +08:00
|
|
|
using BITKit;
|
2025-03-03 18:43:55 +08:00
|
|
|
using BITKit.WorldNode;
|
|
|
|
#if UNITY_5_3_OR_NEWER
|
|
|
|
using UnityEngine;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace Net.Project.B.WorldNode
|
|
|
|
{
|
|
|
|
[Serializable]
|
2025-06-26 23:34:50 +08:00
|
|
|
public class UnityContainerNode :RuntimeItemContainer,IWorldNode,IRuntimeItemContainer
|
2025-03-03 18:43:55 +08:00
|
|
|
{
|
2025-06-26 23:34:50 +08:00
|
|
|
public bool allowAdd;
|
|
|
|
public bool addRemove=true;
|
2025-03-03 18:43:55 +08:00
|
|
|
/// <summary>
|
|
|
|
/// 添加物品
|
|
|
|
/// </summary>
|
2025-06-26 23:34:50 +08:00
|
|
|
public bool AllowAdd => allowAdd;
|
|
|
|
|
2025-03-03 18:43:55 +08:00
|
|
|
/// <summary>
|
|
|
|
/// 移除物品
|
|
|
|
/// </summary>
|
2025-06-26 23:34:50 +08:00
|
|
|
public bool AllowRemove => addRemove;
|
2025-03-03 18:43:55 +08:00
|
|
|
}
|
|
|
|
}
|