update 0.5.6
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -2,6 +2,19 @@
|
||||
|
||||
## [Unrealse]
|
||||
|
||||
添加一个方法,可以将任意数值转为分数形式。
|
||||
|
||||
## [0.5.6] 2025-12-30
|
||||
|
||||
增加数据集合可复用对象池组件,优化列表池中部分方法的性能。
|
||||
|
||||
## [0.5.5] 2025-11-10
|
||||
|
||||
新增一种跳线用法(单例)。
|
||||
|
||||
过时:
|
||||
* 弱系列脚本计划废弃,使用Xeric系列代替。
|
||||
|
||||
## [0.5.4] - 2025-10-13
|
||||
|
||||
新版软接口:
|
||||
@@ -29,7 +42,6 @@ UI库:
|
||||
* 修复文本包裹器中对于常规数值类型的转换太有限的问题。
|
||||
* 修复 XericRectSplinePath 在添加项目后界面坍塌的问题。
|
||||
|
||||
|
||||
## [0.5.3] - 2025-09-26
|
||||
|
||||
添加一个大顶堆数据容器XericLibrary.Runtime.Type.SpatialAlgorithm.MaxHeap
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 114790f70dba8284a84b68083baa8418
|
||||
guid: bcbfe98d29b703044a524e421fcacc2a
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
BIN
Editor/DeconstructionStyle.pdb
Normal file
BIN
Editor/DeconstructionStyle.pdb
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e705db20b7214dc4cbfe3089b7219737
|
||||
guid: 6116f350f3c2bca4dbb63afc5febe614
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
Binary file not shown.
@@ -12,16 +12,52 @@ PluginImporter:
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
: Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Editor: 0
|
||||
Exclude Linux64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DefaultValueInitialized: true
|
||||
OS: AnyOS
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86_64
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
|
||||
BIN
Editor/XericLibraryEditor.pdb
Normal file
BIN
Editor/XericLibraryEditor.pdb
Normal file
Binary file not shown.
48
README.md
48
README.md
@@ -12,3 +12,51 @@
|
||||
| 2021.3.2f1 | ✔️ | ✔️ | ✔️ |
|
||||
| 2022.1.24f1 | ✔️ | ✔️ | ✔️ |
|
||||
| 6000.0.24f1 | ✔️ | ✔️ | ✔️ |
|
||||
|
||||
* 插件更名历史
|
||||
> Xeric Library
|
||||
> Aetherial Deconstructionism Paradigm (XericLibrary)
|
||||
>
|
||||
|
||||
----
|
||||
|
||||
欢迎使用Xeric Library, 这是一个专注代码的扩展库
|
||||
|
||||
* 专注Unity成员语法, 扩展多种基本类型的数据结构的Linq语法/语法糖, 提供: 函数平滑、 多项式计算、 权重拟合、 过程分级、 工业控制、 曲线绘制、 路径设置、 对象控制、 迭代扩展、 空间变换、 独特结构、 文本格式、 类型转换、 机器编码、 开发调试、 动态生成、 几何创建、 快速池化、 导航寻路、 隔离控制、 隔离输入、 语义化委托、 反射超驰、 数学常数、 单位换算、 排序算法、 程序调用、 网络连接等快捷用法。
|
||||
|
||||
* 扩展特殊类型, 包括且不限于: 多维布尔、 样条曲线、 超级单例、 多例系统、 邻居网络、 四叉树、 字典树、 软引用封装器等。
|
||||
|
||||
* 扩展各种常用脚本: 游戏交互、 界面适配、 弱扩展、 绘制工厂、 SQL扩展。
|
||||
|
||||
* 兼容不规范程序: 针对不规范或毫无设计规则可言的代码, 提供了更多基于反射, CIL特性等底层语法的程序扩展, 以便快速实现目的:
|
||||
1. 脚本没有继承单例? "超级单例"不需要声名, 也不需要修改任何原来的脚本内容, 径直调用就是单例。
|
||||
2. 数据结构字段冗余重复? "软接口" (SoftInterface) 支持快速执行反射获取和设置,方法委托,字段属性一行调用。
|
||||
3. untiy对象要遵循生命周期池化太麻烦? "联合对象池" (MacroPool.UnionSet) 直接将设定项目开放到inspector上配置,代码中只需要get和release就可以!
|
||||
4. 程序UI框架和逻辑框架高度耦合无从下手? 有点麻烦, 不过菜单特性, 查找特性, 命名标记特性可以帮助你无视内容查找字段属性方法类型等内容, 直接将类传入就能程序化生成菜单界面。
|
||||
5. 驱动ui的数据量太大? 提供多种基于UI框架的数据结构虚拟化技术, 使用虚拟化拆分数据可以每次刷新的压力。 使用此功能需要安装XericUIActionVessel插件, 代码以脚本呈现,直接浏览,编写时遵循精细的工厂权能划分!
|
||||
6. 喜欢函数式变成和便捷的语法糖? 插件提供多种工具类: 枚举可以使用`MacroEnum`分类和`MacroEnum<T>`扩展; 数学, 向量, 几何, 数据结构扩展, 常见算法, 常用字符计算已经全部内嵌`MacroMath`分类;
|
||||
7. 需要使用高级数据结构? 大顶堆, 四叉树, 八叉树, 字典树, 时间戳, 多段线, 贝塞尔, 多维布尔(比特矢量), 比特图, 双生哈希表, 相邻网格等内容可以直接使用。
|
||||
8. 想要立刻能够在场景中移动角色? 第一人称, 第三人称, 上帝视角已经准备就绪!
|
||||
9. 厌烦复杂的按键检查逻辑? 按键宏 (MacroKey) 提供状态表处理更多按键, 可以识别短按, 长按, 双击, 连击, 拖拽, 以及它们的按下和释放状态! 且可以选择以时间, 坐标等共计4种模式触发, 支持新输入系统, 满足绝大部分场景的细分需求。
|
||||
10. 需要隐藏日志调用栈信息? XericLogger 可以减少日志输出内容。
|
||||
11. 需要更多调试信息? 提供可以和虚幻原生媲美的Gizmos调试显示功能。
|
||||
11. 担心兼容性吗? 程序主要基于2022版本开发, 向下兼容2021, 向上支持6000, 不涉及渲染管线API, 有针对webgl版本的单独构建版本, 且经过项目实战验证。
|
||||
|
||||
更多编辑器功能参考:
|
||||
* 安装Xeric Blueprint Graph以获取Unity上蓝图节点功能, 并支持Xeric函数库功能。
|
||||
* 安装Xeric UI Graph以获取蓝图化UI生成功能, 使用蓝图逻辑控制UI交互, 生成逻辑, 并支持Xeric函数库功能。
|
||||
* 安装Digital Twin Tool以获取常用调试工具集。
|
||||
* 安装Nexus Frame Flow以获取工作架构流处理功能。
|
||||
* 安装Xeric Editor辅助引擎大纲美化组件、 资源垃圾处理组件、 资源缓存组件、 快速截图功能, 以及更多快捷键功能
|
||||
|
||||
需要使用编译标记启用的功能:
|
||||
* XericLibrary: 通用的启用特殊功能。
|
||||
|
||||
当前插件提供编辑器功能: Deepseek AI对话。
|
||||
|
||||
需要注意: 插件内如果涉及多平台切换, 可能会提供多种自动或手动的切换方案, 或默认使用windows平台, 请注意辨别。
|
||||
|
||||
建议添加ODin插件, 便于呈现更多界面功能。
|
||||
|
||||
更多详细内容说明请翻阅README文档。
|
||||
如果发现任何问题, 包括版本兼容性, 计算错误, 调用错误, 使用问题, 都可以通过发布页Issues或其他联系方式找我获得帮助。
|
||||
Binary file not shown.
BIN
Runtime/Deconstruction.pdb
Normal file
BIN
Runtime/Deconstruction.pdb
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c67d7ef6c97613b41b9095a945725e91
|
||||
guid: 8acde5da4f147914f835131d166274df
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
BIN
Runtime/RescissionRework.dll
Normal file
BIN
Runtime/RescissionRework.dll
Normal file
Binary file not shown.
33
Runtime/RescissionRework.dll.meta
Normal file
33
Runtime/RescissionRework.dll.meta
Normal file
@@ -0,0 +1,33 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7246df1f122aac345b615cdfe123fb10
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 1
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
BIN
Runtime/SerializerHelper.pdb
Normal file
BIN
Runtime/SerializerHelper.pdb
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a61f0f8f8df56c42af4507d63579616
|
||||
guid: 62d0397e1e24f0748a58f4046b547552
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
@@ -225,8 +225,8 @@ namespace XericLibrary.Runtime.MacroLibrary
|
||||
|
||||
if (_noInit)
|
||||
{
|
||||
Initialize();
|
||||
_noInit = false;
|
||||
Initialize();
|
||||
}
|
||||
|
||||
return toggleList;
|
||||
@@ -431,12 +431,13 @@ namespace XericLibrary.Runtime.MacroLibrary
|
||||
_nowSelectToggleIndex = i;
|
||||
}
|
||||
|
||||
if (_noInit)
|
||||
{
|
||||
// 如果不允许为空的情况下还为空,那就默认标记一个
|
||||
if (!ToggleGroup.allowSwitchOff && _nowSelectToggleIndex < 0)
|
||||
SetToggleOnWithoutNotify(0);
|
||||
|
||||
if (_noInit)
|
||||
SetToggelGroupItems();
|
||||
}
|
||||
|
||||
_mappingDirty = false;
|
||||
_noInit = false;
|
||||
|
||||
8
Runtime/UI/UILineRenderer.meta
Normal file
8
Runtime/UI/UILineRenderer.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 579f0719bf2bbad4cbf32941bd430366
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
BIN
Runtime/XericCecil.pdb
Normal file
BIN
Runtime/XericCecil.pdb
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 138831b823d56714db753f3bbfcca789
|
||||
guid: 6872d3ed7dad0cd49b4e0f92ce6e95b1
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
Binary file not shown.
BIN
Runtime/XericLibrary.pdb
Normal file
BIN
Runtime/XericLibrary.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user