Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
33いいね 1426回再生

Screen/World Point in Unity | 2022

Learn the difference between screen & world point in Unity.

In this video I walk through what screen coordinates/point are and how you convert that to world coordinates/point or vice versa. I also quickly go over how and when you would use each.

Materials/References:
Lost Crypt Asset: assetstore.unity.com/packages/essentials/tutorial-…
Unity ScreenToWorldPoint: docs.unity3d.com/ScriptReference/Camera.ScreenToWo…
Unity Input Actions: docs.unity3d.com/Packages/com.unity.inputsystem@1.…

Related Videos:
Beginner Game in Unity #2:    • Beginner Game in Unity | 2022 | #2 - Input  

Timestamps:

0:00 Intro
0:32 Screen Point / Coordinates
1:12 Game Camera
1:39 Code
2:06 1 to 1 relationship in 2D
2:29 World Point / Coordinates
2:51 Screen Point for UI
3:32 Outro

Social:

Twitter: twitter.com/jc0d3
Instagram: www.instagram.com/jc0d3/
GitHub: github.com/johncvieira

コメント