脚本/功能 【更新】Speech Bubble Manager 1.5.0语音气泡管理器

Unity插件信息
插件名称: Speech Bubble Manager
插件官网: https://assetstore.unity.com/packages/tools/gui/speech-bubble-manager-75417
版本: 1.5.0
解压密码:
素材类型: 脚本/功能
















Speech Bubble Manager is a system that creates and manages speech bubbles through one line of code.

Features:
• Speech bubbles through one line of code
• 2D and 3D
• Adapts size to fit text
• Object pooling
• 4 types of bubbles
• TextMesh Pro integrations (optional)

It works in 2D and 3D. It will adapt the size of the speech bubble to fit the text it needs to contain. It uses object pooling to keep down garbage generation. It comes with a set of four types of speech bubbles and more can be created without too much hassle.

The system is useful not only for talking characters but also as a debugging tool; instead of printing to the debug console, let the character tell you its debugging message in person! This is especially useful for debugging AI as the character can actually talk you through his or her thinking. There is a Behaviour Designer integration package included so that speech bubbles can be easily created through an action.

As mentioned there are four types of speech bubbles included. Two of them are using 9-sliced sprites (normal and serious) while two of them are scaled to fit their content (angry and thought). The 9-sliced work for all sizes of content, scaled images work best if the height and width are somewhat similar as they can look a bit strangely stretched otherwise. To keep the ratio as close as possible introduce a linebreak here and there for the very best visuals when using angry and thought bubbles.


语音气泡管理器是一个通过一行代码创建和管理语音气泡的系统。

特征:
• 通过一行代码实现语音气泡
• 2D 和 3D
• 调整大小以适合文本
• 对象池
• 4种气泡
• TextMesh Pro 集成(可选)


它适用于 2D 和 3D。 它将调整对话气泡的大小以适应其需要包含的文本。 它使用对象池来减少垃圾生成。 它配备了一组四种类型的对话气泡,并且可以轻松创建更多类型的对话气泡。

该系统不仅对于说话的角色很有用,而且还可以作为调试工具; 让角色亲自告诉您其调试消息,而不是打印到调试控制台! 这对于调试 AI 特别有用,因为角色实际上可以向您讲述他或她的想法。 包含一个行为设计器集成包,以便可以通过操作轻松创建对话气泡。

如前所述,其中包含四种类型的气泡。 其中两个使用 9 切片精灵(正常和严肃),而其中两个则缩放以适应其内容(愤怒和思考)。 9 切片适用于所有尺寸的内容,如果高度和宽度有些相似,则缩放图像效果最佳,否则它们可能看起来有点奇怪地拉伸。 为了保持比例尽可能接近,在使用愤怒和思考气泡时,到处引入换行符以获得最佳视觉效果。





作者 cg小白兔 发表于 2024-5-17 15:14:23
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布6988

热门作品推荐
glow
Wireframe Shader 2022.1 线框着色器插件
glow
118 sprite effects bundle 5.0火焰血液爆
glow
《穿墙透壁--剖视中国经典古建筑》手绘图民
glow
明代画家文徵明150幅绘画作品山水诗画兰竹
glow
实时动画渲染Reallusion iClone 8.02 + Cha
glow
Autodesk 3DS MAX 2024.2 中文英文多语言破
glow
Autodesk Flame 2024 Mac破解版
glow
布料凹痕褶皱折痕笔刷Zbrush 12 Cloth Brus
glow
高质量木材损坏纹理43 wood damage alphas
glow
高质量无缝树皮雕刻笔刷Ultra HQ Tree Bark