public void SaveResult()
        {
            string        path          = EditorUtility.SaveFilePanel("Save Sample", "", DateTime.Now.ToString("yyyy-MM-dd-HH-MM-ss"), "sample");
            List <Sample> rootSampeList = new List <Sample>();

            foreach (var item in roots)
            {
                rootSampeList.Add(item.CopyToSample());
            }
            Sample.SerializeList(rootSampeList, path);
        }
        public void SaveHisotry()
        {
            string path = EditorUtility.SaveFilePanel("Save Sample", "", DateTime.Now.ToString("yyyy-MM-dd-HH-MM-ss"), "sample");

            Sample.SerializeList(history, path);
        }