6.6.1-preview
Pre-release
Pre-release
Install
Install this version by UPM git:
git://github.com/yomunsam/TinaX.Core.git#6.6.1-preview
Changelog
Modify
- Changed the inheritance of Class
TinaX.InjectAttribute
fromSystem.Attribute
to inherit fromCatLib.Container.InjectAttribute
.CatLib
is the underlying implementation ofXCore
's DI, and this change is used to optimize the API confusion of dependency injection.
New Features
- Add content about
UnityEngine.JsonUtility
serialized and deserializedList
andDictionary
, see test code for detailed use cases: https://github.com/yomunsam/TinaX.Core/blob/master/Tests/Runtime/Extends/JsonUtility/JsonUtilityTest.cs
改动
- 将
TinaX.InjectAttribute
类的继承关系由System.Attribute
改为继承自CatLib.Container.InjectAttribute
.CatLib
是XCore的依赖注入的底层实现,该改动用于优化依赖注入的API混乱.
新增功能
- 添加关于UnityEngine.JsonUtility序列化和反序列化List和Dictionary的相关内容,详细用例可见测试代码:https://github.com/yomunsam/TinaX.Core/blob/master/Tests/Runtime/Extends/JsonUtility/JsonUtilityTest.cs