Skip to content

Emoji plugin copy for the client

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

W-Games/emoji-plugin

Repository files navigation

WGames copy of no longer available plugin for Emojis (as of 2024-05-21)
https://forum.unity.com/threads/full-emoji-support-api-emoji-sequen.660310/page-5
------------------------



Emoji Sequence Search Api for TextMeshPro Version 1.0 (12/04/2019)

Created by Rafael Costa Soares ([email protected] / [email protected])

------- LICENSE: -------

FEEL FREE TO USE THIS CODE IN YOUT PROJECT, don't need to give me any credits... this is an Open Source Project.
If the creator of TextMeshPro need any help to integrate it to original TMP_Text, just send me a message in e-mail.


------- FAST GUIDE: -------

* Replace yout TextMeshProUGUI component to TMP_EmojiTextUGUI component
* Enable RichText
* Add in TMP_SETTINGS (or in your TMP_EmojiTextUGUI) the spriteasset in correct format (generated by Sprite Import)

PS: Already added the EmojiData_google in this project so you can use it - Licence(Apache License 2.0): https://github.com/googlei18n/noto-emoji/blob/master/LICENSE
This SpriteAsset include all Emojis from Android 9.0 in 32x32 per emoji format.

------- USING CONVERSION TOOL TO GENERATE SPRITE ASSETS: -------

* Download a JSON and a Spritetexture from https://github.com/iamcal/emoji-data
* Acess in Unity the tool 'EmojiData to TexturePacker Json' (Path: "Window/TextMeshPro/Convert EmojiData to TexturePacker JSON")
* Drop the JSON downloaded from emoji-date in the tool and configure the size/spacing/padding of the grid in SpriteSheet (default size 32x32, with spacing 2x2 and padding 1x1)
* Hit the convert button
* Find the generated file (with name texturepacker_<OriginalFileName>) in same folder of the json used as parameter. 
* Use generated file in Sprite Importer Tool ("Window/TextMeshPro/Sprite Importer") with the spritesheet downloaded in emoji-date
* Save your SpriteAsset and use it in TextMeshPro (yey!)

About

Emoji plugin copy for the client

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages