From 33e20417ce0032039df76c0f5edce6647f679f47 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Thu, 7 Nov 2024 23:41:11 +0100 Subject: [PATCH] Remove comments --- Assets/Scripts/ConfigureOrbital.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Assets/Scripts/ConfigureOrbital.cs b/Assets/Scripts/ConfigureOrbital.cs index 8475d06..d9c483a 100644 --- a/Assets/Scripts/ConfigureOrbital.cs +++ b/Assets/Scripts/ConfigureOrbital.cs @@ -67,9 +67,6 @@ public class ConfigureOrbital : MonoBehaviour Transform cameraTransform = Camera.main.transform; canvas.transform.position = cameraTransform.position + cameraTransform.TransformDirection(localOffset); - // canvas.transform.rotation = Quaternion.LookRotation(canvas.transform.position - cameraTransform.position); - // canvas.transform.rotation = Quaternion.LookRotation(-cameraTransform.position); - // canvas.transform.rotation = Quaternion.Euler(0, cameraTransform.eulerAngles.y, 0); canvas.transform.rotation = Quaternion.LookRotation(cameraTransform.forward, cameraTransform.up); localOffset = new Vector3(localOffset.x + GetItemWidth(canvas), localOffset.y, localOffset.z);