PDFAsset.cs 844 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. http://www.cgsoso.com/forum-211-1.html
  3. CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
  4. CGSOSO 主打游戏开发,影视设计等CG资源素材。
  5. 插件如若商用,请务必官网购买!
  6. daily assets update for try.
  7. U should buy the asset from home store if u use it in your project!
  8. */
  9. using UnityEngine;
  10. namespace Paroxe.PdfRenderer
  11. {
  12. /// <summary>
  13. /// For internal use only.
  14. /// </summary>
  15. public class PDFAsset : ScriptableObject
  16. {
  17. [SerializeField] public byte[] m_FileContent;
  18. [SerializeField] public string m_Password;
  19. public string Password
  20. {
  21. get { return m_Password; }
  22. set { m_Password = value; }
  23. }
  24. public void Load(byte[] fileContent)
  25. {
  26. m_FileContent = fileContent;
  27. }
  28. }
  29. }