ES
Size: a a a
ES
P#
ES
AD
float x;
float angle = Vector3.SignedAngle(transform.forward, enemy.target.transform.position - transform.position, Vector3.up);
if (angle < 0)
{
x = 0;
}
else
{
x = Camera.main.scaledPixelWidth;
}
arrow.transform.position = new Vector3(x, arrowPos.y, arrowPos.z);
AD
С
KB
KB
KB
KB
KB
P#
Ц
P#
P#
Ц
P#
P#