namespace FairyGUI { /// /// 用于文本输入的键盘接口 /// public interface IKeyboard { /// /// 键盘已收回,输入已完成 /// bool done { get; } /// /// 是否支持在光标处输入。如果为true,GetInput返回的是在当前光标处需要插入的文本,如果为false,GetInput返回的是整个文本。 /// bool supportsCaret { get; } /// /// 用户输入的文本。 /// /// string GetInput(); /// /// 打开键盘 /// /// /// /// /// /// /// /// /// void Open(string text, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int keyboardType, bool hideInput); /// /// 关闭键盘 /// void Close(); } }