rise-and-swine/Assets/Scripts/Assembly-CSharp/LocalizationEntry.cs
2023-02-25 23:04:03 -05:00

22 lines
413 B
C#

using System;
using UnityEngine;
[RequireComponent(typeof(Sprite))]
[Serializable]
public class LocalizationEntry : IComparable<LocalizationEntry>
{
public LocalizationEntry(string locale, string sprite)
{
this.locale = locale;
this.sprite = sprite;
}
public int CompareTo(LocalizationEntry other)
{
return this.locale.CompareTo(other.locale);
}
public string locale;
public string sprite;
}