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

23 lines
523 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 struct UnityItemNode : IWorldNode
{
public int Id { get; set; }
public object WorldObject { get; set; }
#if UNITY_5_3_OR_NEWER
[SerializeReference, SubclassSelector]
#endif
private IReference itemPath;
public string ItemPath => itemPath.Value;
}
}