8 t.mainText.text = o.text;
11 public void AddButton(
object obj,
string text, Action onClick, Action<UIButton> onInstantiate =
null)
18 onInstantiate = onInstantiate
22 public new void Select(
object obj,
bool invoke =
false)
24 for (
int i = 0; i < items.Count; i++)
26 RefObject refObject = (RefObject)items[i];
27 if (obj.Equals(refObject.obj))
29 base.Select(i, invoke);
33 Debug.Log(obj?.ToString() + obj.GetType());