Hi there, I need to put some text but if the text overflow I need to show “…” and basically the thing is that it should work on iOS, android, BB and Windows phone devices, and also support landscape and portrait.
I can’t seem to find how to do it? any help is greatly appreciated.
There’s nothing built into the UI system to do this that I’m aware of but a UI Text component has a TextGenerator object called cachedTextGenerator which has two int values, characterCount and characterCountVisible that you can compare to find out if the text string is being truncated. From that you should be able to make something. Just be aware that characterCount is always at least 1 more than characterCountVisible, even if all characters are showing. (characterCount doesn’t seem to ever go below 1).
In the event you don’t have time to implement your own solution to support Ellipsis, you can take a look at TextMesh Pro which includes an Ellipsis text overflow mode.
This feature has been in TextMesh Pro for several releases. In the next release this will also work with the new Multi Fonts & Sprites as well as font Fallback support as seen below.

Text object shown uses 3 different fonts and a sprite. Click to see full size.
TextMesh Pro is a replacement for Unity’s text components providing added functionality in terms of text formatting, layout and rendering. There are two text components to choose from. One replaces the UI Text component supporting the Canvas system and layout system. The other is a replacement for the older Text Mesh component.