Files
Net.Like.Xue.Tokyo/Packages-Local/Com.Project.B/WorldNode/UnityContainerNode.cs
2025-06-24 23:49:13 +08:00

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;
}
}