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

22 lines
456 B
C#
Raw Normal View History

2025-03-04 16:34:31 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit;
using BITKit.WorldNode;
2025-03-15 21:13:46 +08:00
#if UNITY_5_3_OR_NEWER
2025-03-04 16:34:31 +08:00
using UnityEngine;
2025-03-15 21:13:46 +08:00
#endif
2025-03-04 16:34:31 +08:00
namespace Net.Project.B.WorldNode
{
[Serializable]
public class UnityLootNode : IWorldNode
{
#if UNITY_5_3_OR_NEWER
[SerializeReference, SubclassSelector] private IReference lootName;
public string LootName=> lootName?.Value;
#endif
}
}