1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit;
|
||||
using BITKit.WorldNode;
|
||||
#if UNITY_5_3_OR_NEWER
|
||||
using UnityEngine;
|
||||
@@ -9,15 +10,18 @@ using UnityEngine;
|
||||
namespace Net.Project.B.WorldNode
|
||||
{
|
||||
[Serializable]
|
||||
public struct UnityContainerNode :IWorldNode
|
||||
public class UnityContainerNode :RuntimeItemContainer,IWorldNode,IRuntimeItemContainer
|
||||
{
|
||||
public bool allowAdd;
|
||||
public bool addRemove=true;
|
||||
/// <summary>
|
||||
/// 添加物品
|
||||
/// </summary>
|
||||
public bool AllowAdd { get; set; }
|
||||
public bool AllowAdd => allowAdd;
|
||||
|
||||
/// <summary>
|
||||
/// 移除物品
|
||||
/// </summary>
|
||||
public bool AllowRemove { get; set; }
|
||||
public bool AllowRemove => addRemove;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user