update extension sample

pull/418/head
何冠峰 2024-12-19 14:09:35 +08:00
parent 429f68ff64
commit f5f024b1d6
1 changed files with 3 additions and 2 deletions

View File

@ -171,8 +171,9 @@ internal class WechatFileSystem : IFileSystem
}
_wxFileSystemMgr = WX.GetFileSystemManager();
_fileCacheRoot = WX.env.USER_DATA_PATH; //注意:如果有子目录,请修改此处!
//_fileCacheRoot = PathUtility.Combine(WX.PluginCachePath, $"StreamingAssets/WebGL");
_fileCacheRoot = $"{WX.env.USER_DATA_PATH}/__GAME_FILE_CACHE";
//_fileCacheRoot = $"{WX.env.USER_DATA_PATH}/__GAME_FILE_CACHE/子目录"; //注意:如果有子目录,请修改此处!
//_fileCacheRoot = PathUtility.Combine(WX.PluginCachePath, $"StreamingAssets/WebGL");
}
public virtual void OnUpdate()
{