using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GetPath : MonoBehaviour {
public Text text;
string str = "";
void Start()
{
str = System.Environment.CurrentDirectory;
Debug.Log(str);
}
void Update () {
text.text = str;
}
}
Unity获得EXE的文件夹路径
最新推荐文章于 2024-05-07 16:59:54 发布