代码
cs
[MenuItem("Assets/Open Explorer/PersistentDataPath")]
public static void OpenPersistentDataPath()
{
Application.OpenURL(Application.persistentDataPath);
}
[MenuItem("Assets/Open Explorer/DataPath")]
public static void OpenDataPath()
{
Application.OpenURL(Application.dataPath);
}
[MenuItem("Assets/Open Explorer/StreamingAssetsPath")]
public static void OpenStreamingAssetsPath()
{
Application.OpenURL(Application.streamingAssetsPath);
}
[MenuItem("Assets/Open Explorer/TemporaryCachePath")]
public static void OpenTemporaryCachePath()
{
Application.OpenURL(Application.temporaryCachePath);
}