using UnityEditor;
using UnityEngine;
public class MenuPath
{
[MenuItem("Tools/路径地址/本地日志地址persistentDataPath")]
static void LocalLowPath()
{
Debug.Log(Application.persistentDataPath);
}
[MenuItem("Tools/路径地址/工程路径dataPath")]
static void dataPath()
{
Debug.Log(Application.dataPath);
}
[MenuItem("Tools/路径地址/StreamingAssets")]
static void streamingAssetsPath()
{
Debug.Log(Application.streamingAssetsPath);
}
[MenuItem("Tools/路径地址/本地临时缓存路径temporaryCachePath")]
static void temporaryCachePath()
{
Debug.Log(Application.temporaryCachePath);
}
[MenuItem("Tools/路径地址/网页地址absoluteURL")]
static void absoluteURLPath()
{
Debug.Log(Application.absoluteURL);
}
}
unity路径地址Application
于 2024-03-28 13:58:11 首次发布