Reformat files

This commit is contained in:
Santiago Lo Coco 2024-11-07 23:43:47 +01:00
parent 363cc28810
commit 27dedec6ca
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ public class ConfigureOrbital : MonoBehaviour
{
Transform cameraTransform = Camera.main.transform;
canvas.transform.position = cameraTransform.position + cameraTransform.TransformDirection(localOffset);
canvas.transform.position =
cameraTransform.position + cameraTransform.TransformDirection(localOffset);
canvas.transform.rotation = Quaternion.LookRotation(cameraTransform.forward, cameraTransform.up);
localOffset = new Vector3(localOffset.x + GetItemWidth(canvas), localOffset.y, localOffset.z);