iBicha / EmojiTexture

A Unity plugin to render Emojis ☺ ❤ 🍆 🍑 to a texture
Other
62 stars 9 forks source link

GitHub Like Emoji #6

Closed hasanbayatme closed 6 years ago

hasanbayatme commented 6 years ago

Using GitHub like emoji codes for instantiating EmojiTexture class, for example instead of doing:

material.mainTexture = new EmojiTexture("❤");

We can do this:

material.mainTexture = new EmojiTexture(":heart:");

Thanks.

iBicha commented 6 years ago

Hi @EmpireWorld Thank you for the suggestion! Markdown emojis are probably useful, could be a simple helper class that maps :heart: to . Currently working on TextMesh Pro support, and this will be planned right after.

iBicha commented 6 years ago

I might end up using the github emoji API as a map. https://api.github.com/emojis The file names indicate the unicode value. Could also work as a fallback on other platforms

iBicha commented 6 years ago

Update on this: This is a WIP, kinda working, but I'm making some changes and that's including:

iBicha commented 6 years ago

Fixed by last commit.