MIF_E31221325/Assets/ArabicSupport/Scripts/Testing/ExpectedFixedText.cs

22 lines
379 B
C#

using UnityEngine;
using ArabicSupport;
public class ExpectedFixedText : MonoBehaviour
{
[TextArea]
public string Unfixed;
[TextArea]
public string Expected;
public string Fixed { get; private set; }
public bool ShowTashkeel = false;
public bool UseHinduNumbers = true;
public void Fix()
{
Fixed = ArabicFixer.Fix(Unfixed, ShowTashkeel, UseHinduNumbers);
}
}