Hello, how to make a structure like in the image with Unity? For example, there is a stadium that functions as a button or other buildings work as a button. What are the words I need to do case study or research on this subject?
Hello, how to make a structure like in the image with Unity? For example, there is a stadium that functions as a button or other buildings work as a button. What are the words I need to do case study or research on this subject?
I think you’re just trying to detect a click/tap on a GameObject. Put a collider on it, and use a raycast. Or possibly you can do this by simply implementing OnMouseDown.
So, will I add the city on the back as a picture? And I’m going to put a gameobject on it. Does this work the same on every resolution or device? Because I tried with React Native before, I could not place a button on the picture because of the DPI rates in each device. So I want to use unity.
In other words, it varies a lot according to the aspect ratio of the visual device. Accordingly, how can I place the gameobjecti dynamically
Yes, it works with every resolution or device. I don’t know now if you intend to use 3D models or images on a Canvas, but either will work. Just start going carefully through the Unity tutorials; you’ll learn everything you need to know to do this and much more.