예제 #1
0
    private void OnClick_confirmButton()
    {
        Material mat = Resources.Load <Material>("PrintMat");

        FileMgr.SaveRenderTextureToPNG(Printer.instance.GetTexture(), mat, pathInputField.text, fileNameInputfield.text);
        //     FileMgr.DoPicture("C:/Hello.png", "C:/", Printer.instance.GetTexture());
        uiMgr.ShowTipUI("保存成功");
    }