- 19.3 MB
- DynaMike at VikingCrew
- Unity 5.4.0 或更高版本
Unity 5.5 Beta有一个新类型的精灵，平铺。这些将包括在这个包在未来，将有可能创造新的，更好看，泡沫，以取代“缩放到适合”型。 值得注意的是，目前的版本1.0.1，将目标统一5.4的最后一个版本，这之后我们将目标统一5.5以上。
Speech Bubble Manager is a system that creates and manages speech bubbles through one line of code.
• Speech bubbles through one line of code
• 2D and 3D
• Adapts size to fit text
• Object pooling
• 4 types of bubbles
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.
In unity 5.5 beta there are a new type of sprite, tiled. These will be included in this package in the future and will make it possible to create new, better looking, bubbles to replace the “scaled to fit”-type. Note that the current version, 1.0.1, will be the last version to target Unity 5.4, after this one we will target Unity 5.5 and above.