2using System.Collections.Generic;
22 public List<Item>
items =
new List<Item>();
24 public Item Add(
object target,
string text,
string idSprite, Action action,
int priority = 0,
bool auto =
false)
39 public Item Add(
object target,
string text, Func<bool> valueFunc, Action<bool> action)
41 Action action2 = delegate
49 textFunc = () => text.lang() +
" (" + (valueFunc() ?
"on" :
"off") +
")",
87 public List<Page>
pages =
new List<Page>();
114 obj.
Add(vector.x, vector.y, vector.z, num, 0.3f);
154 string text =
"charaInfo".lang();
157 text = text +
"(" +
"unidentified".lang() +
")";
161 page.
Add(t2,
"tTalk".lang(),
"", delegate
168 page.
Add(t2, text,
"", delegate
180 page.
Add(t,
"objInfo",
"", delegate
186 page.
Add(t,
"quest",
"", delegate
190 page.
Add(t,
"hire",
"", delegate
197 page.
Add(t,
"gacha",
"", delegate
204 page.
Add(t,
"craft",
"icon_Inspect", delegate
211 page.
Add(t,
"move",
"", delegate
232 pages =
new List<Page>();
234 page.
Add(
null,
"test1",
"", delegate
237 page.
Add(
null,
"test2",
"", delegate
248 buttonGrid.onClick.AddListener(delegate
253 buttonGrid.RebuildLayout(recursive:
true);
272 uIButton.onClick.AddListener(delegate
281 uIButton.RebuildLayout(recursive:
true);
static AM_Inspect Inspect
BaseTileSelector tileSelector
static BaseGameScreen screen
Item Add(object target, string text, Func< bool > valueFunc, Action< bool > action)
Item Add(object target, string text, string idSprite, Action action, int priority=0, bool auto=false)
static LayerInteraction Instance
static void Show(IInspect newTarget)
static bool TryShow(bool quick)
static Page GetPage(IInspect o)
void Show(List< Page > _pages, Mode _mode)
override void OnUpdateInput()
void Add(Point point, float tile=0f, float color=0f)
ref Vector3 Position(int height)
Point Set(int _x, int _z)
List< IInspect > ListInspectorTargets()
static Sprite Get(string id)