Making Canvas appear only when object is overlaying?
Hi everybody,
I would like to create a Canvas for my model target. I already have the GUI but it is shown constantly as soon as I start the playmode. What I would like to reach, is that the Canvas only appears when my object is overlaying with the rendered model. Does anyone know how to realize that?
Thanks, Melina
Answer by pcdrive · Jun 11, 2018 at 11:06 AM
Hi @MeL17596,
The canvas will always there when you start the game. But you can always enable/ disable anything in the game.
I dont know what your exact problem, but you can disable on start whatever you need on the canvas, or the canvas itself, and reenable it when the overlaying is done.
Your answer
Follow this Question
Related Questions
How to make a health script for a custom health bar (In A Canvas)? 3 Answers
How to make an Inventory Hotbar (C#) 0 Answers
Built game doesn't run properly 0 Answers
How do I render canvas to texture with proper transparency? 2 Answers
Having constant trouble with Unity's inbuilt UI system. 2 Answers