2using System.Collections;
3using System.Collections.Generic;
19 public override string tooltip {
get {
return Macro.
T(
"BTN_LOAD_HELP"); } }
37 private void OnOpen(
string path)
40 Debug.Log($
"path: {path}, seatchpath: {path.Remove(0, path.LastIndexOf("/
") + 1)}");
43 var txt =
File.ReadAllText(path);
47 inField.textComponent.color = color;
48 inField.gameObject.GetComponent<
Image>().color = bgcolor;
49 inField.text = txt.Remove(0, txt.IndexOf(
"\n") + 1);
System.Drawing.Image Image
static FileDragAndDrop instance
string filePattern
If isFileBrowser is true, this string my be used to filter file results (see https://msdn....
void AddOnSaveListener(Callback< string > listener)
void SetDirectory(string directory)
static void SetTitle(string title)
static void SetContent(GameObject prefab)
static string T(string key)
static float StoF(string value)