Skip to content

Virtual File System ​

Overview ​

The Runtime Virtual File System (VFS) is a core component of the Runtime, providing games with a unified, cross-platform, sandboxed file-access abstraction. It shields the underlying differences of native file systems, resource packages, network storage, and more, allowing game logic to read and write files through consistent paths and interfaces without worrying about the platform or storage medium. This greatly improves cross-platform adaptation efficiency and the security of resource management.

Technical Principles ​

The Runtime VFS is implemented based on layered abstraction plus a mounting mechanism, and at its core follows the design philosophy of "everything is a file, a unified interface, and multi-source mounting."