2021-04-23 21:50:58 +10:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
2021-12-02 18:35:46 +11:00
|
|
|
|
using UniverseLib.UI;
|
2022-01-31 21:24:01 +11:00
|
|
|
|
using UniverseLib.UI.Models;
|
2021-04-23 21:50:58 +10:00
|
|
|
|
|
|
|
|
|
namespace UnityExplorer.UI.Widgets.AutoComplete
|
|
|
|
|
{
|
|
|
|
|
public interface ISuggestionProvider
|
|
|
|
|
{
|
2021-05-07 17:06:56 +10:00
|
|
|
|
InputFieldRef InputField { get; }
|
2021-04-24 04:03:33 +10:00
|
|
|
|
bool AnchorToCaretPosition { get; }
|
2021-04-23 21:50:58 +10:00
|
|
|
|
|
2021-05-15 01:41:03 +10:00
|
|
|
|
bool AllowNavigation { get; }
|
|
|
|
|
|
2021-04-23 21:50:58 +10:00
|
|
|
|
void OnSuggestionClicked(Suggestion suggestion);
|
|
|
|
|
}
|
|
|
|
|
}
|