Beispiel #1
0
 //获取截图bytes
 public byte[] PhotoGraphBytes()
 {
     byte[] result = CameraPhotoGraph.SaveRenderTextureToPNGBytes();
     return(result);
 }
Beispiel #2
0
    //拍照截图
    public string PhotoGraph(string fileName)
    {
        string subPath = CameraPhotoGraph.SaveRenderTextureToPNG(fileName);

        return(ResUtil.GetSandBoxPath(subPath));
    }