PDFAsset.cs 539 B

1234567891011121314151617181920212223242526
  1. using UnityEngine;
  2. namespace Paroxe.PdfRenderer
  3. {
  4. /// <summary>
  5. /// For internal use only.
  6. /// </summary>
  7. public class PDFAsset : ScriptableObject
  8. {
  9. [SerializeField]
  10. public byte[] m_FileContent;
  11. [SerializeField]
  12. public string m_Password;
  13. public string Password
  14. {
  15. get { return m_Password; }
  16. set { m_Password = value; }
  17. }
  18. public void Load(byte[] fileContent)
  19. {
  20. m_FileContent = fileContent;
  21. }
  22. }
  23. }