小编Fer*_*ral的帖子

我需要设置使用UNITY的Android和IOS应用程序保存图片的路径

我的实际代码:

function Update() { 
    if(Input.GetMouseButtonDown(0)) {
       Debug.Log("foto");
       Application.CaptureScreenshot(Application.dataPath + "Screenshot.png");
    }
}
Run Code Online (Sandbox Code Playgroud)

我需要为此功能输出每张照片的路径.

谢谢!

android screenshot image path unity-game-engine

5
推荐指数
1
解决办法
3万
查看次数

标签 统计

android ×1

image ×1

path ×1

screenshot ×1

unity-game-engine ×1