private void Start() { Debug.Log("文件后缀:" + FileHelper.GetFileEx(filePath)); Debug.Log("文件名称(带后缀):" + FileHelper.GetFileNameWithEx(filePath)); Debug.Log("文件名称(不带后缀):" + FileHelper.GetFileNameWithOutEx(filePath)); Debug.Log("文件大小:" + FileHelper.GetFileSize(filePath)); }