33 lines
866 B
C#
33 lines
866 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Concurrent;
|
|
using System.Collections.Generic;
|
|
#if UNITY_5_3_OR_NEWER
|
|
using UnityEngine;
|
|
#endif
|
|
namespace BITKit.WorldNode
|
|
{
|
|
[Serializable]
|
|
public class WorldInfoNode : IWorldNode
|
|
{
|
|
#if UNITY_5_3_OR_NEWER
|
|
[SerializeReference, SubclassSelector]
|
|
|
|
private IReference name;
|
|
[SerializeReference, SubclassSelector]
|
|
private IReference description;
|
|
|
|
public string Name
|
|
{
|
|
get => name?.Value;
|
|
set => name = new Reference(value);
|
|
}
|
|
|
|
public string Description
|
|
{
|
|
get => description?.Value;
|
|
set=>description = new Reference(value);
|
|
}
|
|
#endif
|
|
}
|
|
} |