L
L
LittleBob2022-01-27 16:40:42
Unity
LittleBob, 2022-01-27 16:40:42

How to find the distance from the center of the sprite to the bottom edge?

How to find out the distance from the center of any sprite to its bottom edge along the perpendicular through the code? Maybe there is some method in the SpriteRenderer component?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
netcha1n, 2022-01-27
@netcha1n

https://docs.unity3d.com/ScriptReference/Vector3.D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question