找回密码
 立即注册
搜索

[编辑器/功能拓展] Concurrent Value 1.3

[复制链接]
157 |0
发表于 2023-3-23 12:21:24 | 显示全部楼层 |阅读模式



Description
This asset is an all-around solution for dealing with a common issue when creating a game, having a value concurrently modified by multiple objects at once.
Despite a pretty simple goal, this asset provides a lot because of technical challenges that comes with doing arithmetic in a generic class, and making it serialize on Unity Versions prior to 2020.1.

It is very useful and time saving when making gameplay elements that interact heavily with each others (multiple effect zones affecting the same character at once, complex RPG statistics system, etc).

Thanks to a complete documentation, tutorial videos and an automatic script generation window, this asset is usable by anyone with basic knowledge of programming.
An advanced user will find it very useful too: indeed, a lot of tricky problems have been tackled in order to get this asset to work. It will save you some precious production time, and a good object-oriented conception will allow you to extend it if need be.
This asset works for Unity version 2018.3 or higher and will be kept up to date with later releases.

Features
  • Built with performance as a main goal.
  • Easy to use and very complete.
  • Full sources are included.

Content
  • The Concurrent class complete with every possible operators (unary, binary or custom delegates), an event on value change, support for serialization (including custom delegates and event), optimized processing of the final value, a quick syntax and more.
  • Multiples Calculator classes providing a solution to the problem of doing arithmetic operation in a template class. Two generics one perfect for fast prototyping and a specific one ready to be inherited for the best possible performances.
  • Three Windows, a help/tutorial window, a benchmark window with 3 tests, and a window dedicated to auto-extending the asset (meta programming) allowing you to create new Concurrent or new Calculator as easily as typing a value type and clicking on a button.
  • A handy inspector drawer ready for efficient level design, debug and more.
  • A simple example scene.



描述
这个资产是一个全面的解决方案,用于处理创建游戏时的常见问题,让多个对象同时修改一个值。
尽管目标很简单,但这个资产提供了很多技术挑战,因为在泛型类中做算术,并使其在2020.1之前在Unity版本上序列化。

在制作大量相互影响的玩法元素(同时影响同一角色的多个效果区域,复杂的RPG统计系统等)时,这是非常有用和节省时间的。

由于有完整的文档、教程视频和自动脚本生成窗口,任何具有编程基础知识的人都可以使用这个资产。
高级用户也会发现它非常有用:实际上,为了让这个资产工作,已经解决了许多棘手的问题。它将为您节省一些宝贵的生产时间,并且良好的面向对象概念将允许您在需要时扩展它。
此资产适用于Unity 2018.3或更高版本,并将在后续版本中保持最新。

特性
•以性能为主要目标构建。
•易于使用,非常完整。
•包括完整的资料来源。

内容
•Concurrent类完成了所有可能的操作符(一元,二进制或自定义委托),值更改的事件,支持序列化(包括自定义委托和事件),最终值的优化处理,快速语法等。
•多个计算器类提供了一个解决方案,在模板类中做算术操作的问题。两个泛型,一个完美的快速原型和一个特定的准备继承的最佳性能。
•三个窗口,一个帮助/教程窗口,一个带有3个测试的基准测试窗口,以及一个专用于自动扩展资产(元编程)的窗口,允许您像键入值类型并单击按钮一样轻松地创建新的Concurrent或新的计算器。
•一个方便的检查抽屉准备有效的关卡设计,调试和更多。
•一个简单的例子场景。



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表