public void DisplayFiles(string directory, string extension) { fileViewer.ClearMetadata(); fileViewer.ClearList(); fileViewer.PopulateList(directory, extension); fileViewer.doubleClickCallback = new UnityAction(() => { ConfirmOpen(); }); }