本帖最后由 微笑的猫 于 2024-7-16 16:58 编辑
TEXDraw 系列索引
TEXDraw 4.4 下载链接
TEXDraw 5.4.0 下载链接
TEXDraw 5.5.0 下载链接
TEXDraw 5.6.0 下载链接
TEXDraw 6.0.4 下载链接
TEXDraw 6.2.0 下载链接
TEXDraw 6.3.0 下载链接
TEXDraw 7.0.1 下载链接
TEXDraw is an extension asset designed primarily for creating mathematical expressions inside Unity. TEXDraw renders expressions using mesh and dynamic fonts, so they can be changed dynamically in gameplay. It uses LaTeX as the standard syntax to define symbols or specific styles.
This asset contains 16 fonts + one packed sprite, all cumulates into +900 math symbols ready to be used in any kind of project, ranging from greek letters to geometrical symbols. These fonts and symbol packs are lightweight, yet optional, and can be removed later in the build if necessary.
TEXDraw can be displayed in Unity UI rendering or 3D mesh by simply attaching TEXDraw components to Unity objects. It also has built-in integrations with TextMeshPro SDF Rendering. Besides that, the asset source is fully open without embedding any compiled libraries into your project.
TEXDraw syntax is rich in features. With a custom LaTeX interpreter, it can draw various math scripts, integrals, roots, fractions, matrices, tables, etc., plus many glyph features including custom fonts, size, color, styles, alignments, word wrap, kerning, paragraph spacing, line spacing, lean indent, body margin, and much more.
TEXDraw is not just about displaying LaTeX. There are also additional components like TEXLink for clickable sections of text and TEXInput for the WYSIWYG runtime editor. The latest TEXDraw version aims to be mostly compatible with other TeX software like MathJax or TexStudio so if you have used them before, you can get familiar with TEXDraw syntax very quickly.
TEXDraw is mobile-friendly. It does not require any custom shaders. It also does nothing when nothing is changed. On the performance side; it is light and has its own memory pooling system to generate (nearly) zero GC allocation each time the text regenerates. TEXDraw has its own performance benchmark scene and shows that it is only up to 40% slower than standard UI Text.
Besides its great functionality in the game, it also offers a fully customized and functional editor, from project-wide preference, editor highlights, font manager, material management, benchmark tool, menu items, and many more. One of the best parts of using this asset is how it imports a new font, by just inserting any font or sprite, then letting the package do the rest of importing process.
More features are described in the documentation linked above. If you're encountering problems, have a look at the common troubleshooting section in the manual. Bugs and feature requests can be informed and requested using the forum or email. If you have purchased this asset you can request Git Access to get the bleeding (in development) version of this asset.
TEXDraw 是一种扩展资产,主要用于在 Unity 中创建数学表达式。TEXDraw 使用网格和动态字体渲染表达式,因此可以在游戏中动态更改表达式。它使用 LaTeX 作为标准语法来定义符号或特定样式。
该资产包含 16 种字体和一个打包的精灵,所有这些字体和精灵共包含 900 个数学符号,可用于任何类型的项目,从希腊字母到几何符号不等。这些字体和符号包是轻量级的,但也是可选的,如有必要,可在以后的构建中移除。
只需将 TEXDraw 组件附加到 Unity 对象,即可在 Unity UI 渲染或 3D 网格中显示 TEXDraw。它还内置了与 TextMeshPro SDF 渲染的集成。此外,资产源完全开放,无需在项目中嵌入任何编译库。
TEXDraw 语法功能丰富。通过自定义的 LaTeX 解释器,它可以绘制各种数学脚本、积分、根、分数、矩阵、表格等,还有许多字形功能,包括自定义字体、大小、颜色、样式、对齐方式、换行、字间距、段落间距、行间距、缩进、正文页边距等。
TEXDraw 不仅仅可以显示 LaTeX。它还有一些附加组件,如用于点击文本部分的 TEXLink 和用于所见即所得运行编辑器的 TEXInput。最新版 TEXDraw 的目标是在很大程度上兼容其他 TeX 软件,如 MathJax 或 TexStudio,因此如果您以前使用过这些软件,就可以很快熟悉 TEXDraw 的语法。
TEXDraw 对移动设备友好。它不需要任何自定义着色器。当没有任何更改时,它也不会做任何操作。在性能方面,它很轻便,有自己的内存池系统,每次文本再生时都能产生(几乎)零 GC 分配。TEXDraw 有自己的性能基准场景,显示它比标准的 UI 文本最多只慢 40%。
除了在游戏中的强大功能外,它还提供了一个完全自定义的功能编辑器,包括整个项目的偏好设置、编辑器高亮、字体管理器、材质管理、基准工具、菜单项等。使用该资产的最佳方式之一是如何导入新字体,只需插入任何字体或精灵,然后让软件包完成其余的导入过程即可。
上面链接的文档中介绍了更多的功能。如果遇到问题,请查看手册中的常见故障排除部分。您可以通过论坛或电子邮件告知并提出 Bug 和功能请求。如果您已购买此资产,则可申请 Git 访问权限,以获得此资产的出血(开发中)版本。
|