资源路径:
string path = "Assets/UI/Prefab/ui_login/ui_login.prefab";
获取资源名字:
string name = Path.GetFileNameWithoutExtension(path);
结果: