r2mods/ilspy_dump/ror2_csproj/RoR2/GenericDisplayNameProvider.cs

19 lines
324 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
namespace RoR2;
public class GenericDisplayNameProvider : MonoBehaviour, IDisplayNameProvider
{
public string displayToken;
public string GetDisplayName()
{
return Language.GetString(displayToken);
}
public void SetDisplayToken(string newDisplayToken)
{
displayToken = newDisplayToken;
}
}