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

        return(ResUtil.GetSandBoxPath(subPath));
    }