Ориентироваться по карте стало проще
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user