using System; using UnityEngine; using UnityEngine.UI; namespace SC.XR.Unity.Module_Keyboard { public class SCKeyboardBasePrompt : MonoBehaviour { protected int wordCount; public Text alreadyInput; public virtual void Init(Action onPromptItemClick) { } public virtual int GetChinese(string englishWords) { wordCount = ChineseIMEManager.Instance.GetWordCount(englishWords); return wordCount; } public virtual string GetChinese(int index) { return ChineseIMEManager.Instance.GetWord(index); } public virtual string GetFirstChineseWord() { return ""; } public virtual void SetEnteredText(string textStr) { } } }