29 current.onResetConfig?.Invoke();
33 ModUtil.LogModError(ex.ToString(),
current);
47 windows[0].SetCaption(p.title.IsEmpty(p.dirInfo.Name));
51 windows[0].RebuildLayout();
52 note.RebuildLayoutTo<
Layer>();
59 ModUtil.LogModError(ex.ToString(), p);
61 Transform transform = note.transform;
62 for (
int num = transform.childCount - 1; num >= 0; num--)
64 if (transform.GetChild(num).name ==
"HeaderNote(Clone)")
66 Util.Instantiate(moldLine, transform).SetSiblingIndex(num + 1);
static Dialog YesNo(string langDetail, Action actionYes, Action actionNo=null, string langYes="yes", string langNo="no")
static void Open(ModPackage p)
Action< UINote > onBuildConfig
static void ShowExplorer(string itemPath, bool selectFirstFile=false)