public void LoadHistory() { string path = EditorUtility.OpenFilePanel("Load Sample", "", "sample"); history.Clear(); history.AddRange(Sample.DeserializeList(path)); ReLoadSamples(0, history.Count); }