Files

19 lines
354 B
C#
Raw Permalink Normal View History

2024-01-23 02:56:26 +08:00
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);
}
}
}