简体   繁体   中英

Getting game object coordinate (from world coordinate) in screen coordinate [Unity3D]

I have an object (say, a human) in my game which is in 3D. I want to know the coordinate of that human (in terms of pixels ie x and y) when I take a screenshot of the view from my main camera?

To take the screenshot, I am using this link .

Any pointers?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM