EP.UNI.UTIL

Package UNI.UTIL provides utility functions such as string, io, time, loom, pool, event, log, etc.
UNI.UTIL 包提供了诸如字符串、IO、时间、Loom、对象池、事件、日志等实用功能。
Runtime/Platform | Windows | Linux | OSX | Android | iOS | Browser |
---|
Node | ✅ | ✅ | ✅ | ➖ | ➖ | ➖ |
Code | ✅ | ✅ | ✅ | ➖ | ➖ | ➖ |
Cocos | ✅ | ❓ | ❓ | ❓ | ❓ | ❓ |
Unity | ✅ | ❓ | ❓ | ✅ | ❓ | ❓ |
Unreal | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
Electron | ❌ | ❌ | ❌ | ➖ | ➖ | ➖ |
Dom | ➖ | ➖ | ➖ | ➖ | ➖ | ❓ |
- ✅: Supported&Tested ➖: Ignored
- ❓: Developing/Testing ❌: Planing
FAQ | 常见问题
Changelog | 版本记录
0.0.1 - 0.0.8
- [0.0.8]Optimize XFile.Unzip function, add 7z support. 优化 XFile.Unzip 函数,添加7z支持。
- [0.0.7]Update index.d.ts of Unity. 更新 Unity 的类型声明文件。
- [0.0.6]Fix XEnv.DataPath error in node asar env. 优化 Node asar 程序环境下的XEnv.DataPath错误。
- [0.0.5]Optimize Unity/Cocos/Unreal types export. 优化 Unity/Cocos/Unreal 等引擎api的类型导出。
- [0.0.4]Fix XEnv.DataPath error in release. 修复发布环境的 XEnv.DataPath 错误。
- [0.0.4]Add async/await support for xtest. 新增对单元测试的异步支持。
- [0.0.3]Fix XEnv.DataPath error in Jest. 修复 Jest 环境的 XEnv.DataPath 错误。
- [0.0.2]Optimize log print. 优化多平台日志输出。
- [0.0.1]Initial commit. 首次提交。
Refer | 参考
Developer | 开发者
Developing | 开发流程
- 当前工程: npm link
- 目标工程:
- npm link @eframework-org/ep.uni.util(链接本地包)
- packege.json -> dependencies: "@eframework-org/ep.uni.util": "$version",(添加包引用)
- import { TestAll } from "@eframework-org/ep.uni.util/test"(导入并执行)
- Cocos Creator: Developer/Cache/Clear Code Cache(重构以生效)
- 注意事项:
- Typescript不允许循环引用,注意模块间的依赖关系。
Publishing | 发布流程