- Home /
Question by
Basit_anwar · Mar 03 at 07:08 AM ·
c#unityeditorvisual studio
how to show 3d object to my canvas as 2d object
I am making flying car game and i need to show my finishing point (GameObject) to my canvas as 2d object so the player can see it through out game and can follow it i have used WoldtoScreenPoint for this (Vector3 screenPos = cam.WorldToScreenPoint(target.position);) all i get form this is coordinates i have spend fair amount of time searching this but i can't find anything.
in ScreenShot you can seen my finish point which i need to show on canvas
screenshot-2022-03-03-125155.png
(192.0 kB)
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to create a trigger stopping audio in Unity 1 Answer
UnityEngine.Android not does not exist 0 Answers