MojoUnity-TextPro is an Extension of UGUI Text which can mix texts and images as well as attach events.
- The current
unitypackage
, packaged byUnity-2020.3
, tested onUnity-2018.4
, and supported Unity versions are2018.4 or higher
. - Released versions in releases.
- Release changes in ChangeLog.
Quick goto the Samples Code and the Source Code.
The source code depends on the Unity UI
, which can be found and installed by Package Manager
in the Unity menu Window/Package Manager
.
- Mix Text-Image with Event by Efficient algorithm.
- Serialize Image and Event dictionaries in Inspector.
- Custom Image-Event tag in Text.
- Simple API easy to use.
- Open the
MojoUnityTextPro
Scene in/MojoUnity/Samples/MojoUnityTextPro/Scenes/MojoUnityTextPro.unity
. - Click the
Text-Image-Event
GameObject, which is child ofSamples
GameObject, inUnity Hierarchy
. - Click the
Play
button inUnity Game Window
. - View the settings of
TextPro
andTextProQuad
inText-Image-Event
GameObject. - View the Sample Code in
/MojoUnity/Samples/MojoUnityTextPro/Scripts/TextProQuadEvent.cs
.
Note: If the image tag
is not replaced correctly in PlayMode, please check whether the Serialization Dict
setting is right in Inspector
.
- Any bugs can go to [MojoUnity-TextPro Issues] for feedback.
- Any questions or comments can go to [MojoUnity-TextPro Discussions] for exchange.