Ориентироваться по карте стало проще

This commit is contained in:
Max_Divizion
2024-06-21 15:02:46 +03:00
parent b6158102e6
commit 35540cf904
4 changed files with 25 additions and 1 deletions

View File

@ -8,6 +8,6 @@ public class FollowYRotation : MonoBehaviour
void Update()
{
transform.eulerAngles = new Vector3(0, target.eulerAngles.y, 0);
transform.eulerAngles = new Vector3(0 ,target.eulerAngles.y, 0);
}
}