FileSystemHelperBase.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. //------------------------------------------------------------
  2. // Game Framework
  3. // Copyright © 2013-2021 loyalsoft. All rights reserved.
  4. // Homepage: http://www.game7000.com/
  5. // Feedback: http://www.game7000.com/
  6. //------------------------------------------------------------
  7. using GameFramework.FileSystem;
  8. using UnityEngine;
  9. namespace UnityGameFramework.Runtime
  10. {
  11. /// <summary>
  12. /// 文件系统辅助器基类。
  13. /// </summary>
  14. public abstract class FileSystemHelperBase : MonoBehaviour, IFileSystemHelper
  15. {
  16. /// <summary>
  17. /// 创建文件系统流。
  18. /// </summary>
  19. /// <param name="fullPath">要加载的文件系统的完整路径。</param>
  20. /// <param name="access">要加载的文件系统的访问方式。</param>
  21. /// <param name="createNew">是否创建新的文件系统流。</param>
  22. /// <returns>创建的文件系统流。</returns>
  23. public abstract FileSystemStream CreateFileSystemStream(string fullPath, FileSystemAccess access, bool createNew);
  24. }
  25. }