2024-11-23 17:20:13 +08:00
|
|
|
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]
|
2025-03-03 18:43:55 +08:00
|
|
|
public class UnityItemNode : IWorldNode
|
2024-11-23 17:20:13 +08:00
|
|
|
{
|
|
|
|
#if UNITY_5_3_OR_NEWER
|
|
|
|
[SerializeReference, SubclassSelector]
|
|
|
|
#endif
|
|
|
|
private IReference itemPath;
|
2025-02-24 23:02:49 +08:00
|
|
|
|
|
|
|
public string ItemPath
|
|
|
|
{
|
|
|
|
get => itemPath.Value;
|
|
|
|
set => itemPath = new Reference(value);
|
|
|
|
}
|
2024-11-23 17:20:13 +08:00
|
|
|
}
|
|
|
|
}
|