19 lines
354 B
C#
19 lines
354 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace BITKit
|
|
{
|
|
[Serializable]
|
|
public sealed class TranslateReference:IReference
|
|
{
|
|
[SerializeReference, SubclassSelector] private IReference key;
|
|
public string Get()
|
|
{
|
|
return ScriptableObjectHelper.Get<TranslateSO>().GetAt(key.Value);
|
|
}
|
|
}
|
|
|
|
}
|