// Use this for initialization void Start() { //asignaciones panelProc = GameObject.Find("PanelProcesos"); panelProc.SetActive(false); procDB = GetComponent <ProcessDatabase>(); //inicializaciones varFiltro = false; todasFiltro = true; entradasFiltro = false; internosFiltro = false; salidasFiltro = false; tipoF = "todas"; tipoSoporte = ""; }
// Use this for initialization void Start() { btn = gameObject; procDB = GameObject.Find("Code").GetComponent <ProcessDatabase>(); proclist = GameObject.Find("Code").GetComponent <ProcessList>(); folderPath = Application.dataPath + "/StreamingAssets/" + path; btn.GetComponent <Button>().onClick.AddListener(() => { Debug.Log("file:///" + Path.GetFullPath(folderPath)); Application.OpenURL("file:///" + Path.GetFullPath(folderPath)); Debug.Log("--> " + folderPath); }); }