1
This commit is contained in:
22
Src/WorldNode/UnityItemNode.cs
Normal file
22
Src/WorldNode/UnityItemNode.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user