脚本/功能 【更新】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

发布7489

热门作品推荐
glow
【更新】Hand & Finger Tracking [Windows]
glow
zb布料压痕织物褶皱纹理20 Folds Alphas fo
glow
20个布料褶皱压痕纹理笔刷20 Folds VDM Bru
glow
污渍纹理Imperfection Brush VOL 01 - 220
glow
地面岩石悬崖裂缝纹理雕刻Digital Surface
glow
9个中国古代神话瑞兽貔貅招财摆件三维立体
glow
貔貅招财摆件三维立体圆雕图STL文件3D打印
glow
300种边框4K装饰纹理黑白Alpha图案300 tile
glow
中式传统青花瓷花纹样中国风镂空装饰剪纸AI
glow
【更新】Shooter 2 Game Creator 2 by Cat