Posted April 15, 2019 by TheRolf
#object #interaction #layout #tooltip
The main principle of videogame is interaction. In my game, characters will interact with persons and character. But I need to let the user know that he can interact. So I made a GUI tooltip prefab to help him. I made an horizontal layout then some content size fitter:
I then put a circle trigger collider on my object and an interaction component:
But I have some weird problems while launching the game because the layout is not updating when I approch the object :/ :
But when I come back It get normal:
I would really like some help to update this layout before.
Not a lot done in one day but I lost some time on how to use layouts.
The result of this is:
Thanks for reading,
Hope you enjoyed,
TheRolf