Unity 5. Working with mouse and text displaying.
I create a simple game in the genre of adventure on Unity 5: https://github.com/koshinus/Rehabilitation-of-Symeon. At this moment i implemented moving and jumping of the character + camera following the player. I want to add the mouse so that you can click on different in-game objects and the character would comment this (in the form of output of the block with the text on the screen). Things like http://answers.unity3d.com/questions...by-mouse-.html do not work, apparently, due to the changes added in the 5th version of the engine. Can someone paint an approximate algorithm for adding such features (for example: create an empty object, create a script using such and such classes, add a component and an created script to the object) or at least specify the classes and elements of the engine using which could be done like that?
Your answer
![](https://koobas.hobune.stream/wayback/20220612114643im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rich text in new UI? 1 Answer
How to change caret position inside Input field using mouse position 0 Answers
How to write actual text into game play 2 Answers
MouseOver 1 Answer
problem with Adjustable Character Spacing script in Unity 5.4 0 Answers