Skip to main content


Showing posts from November, 2016

How to create Chat Screen with new Unity UI

Hi Guys,

Unity UI is a blank page you can create anything you want, but some time it needs a lot of effort, and this one took a lot.

Anyways, i was successful in creation of an UI which looks similar to WhatsApp or any modern chat application.

All you need to do is pass a string to a Coroutine, separated by  "~0" and "~1" based on these separators function decides where to put the text on screen (left/right side).

So, i am not gonna post any script here, I will attach the Project file itself so you can check things in detail. There is only 2 scripts, all the logical part is handle by ChatManager.cs.

if you have any doubts, please feel free to ask.

Basically the setup looks something like this.

If you like this post and want to contribute Please click on the link given below.

Project File Link :