Reformat files
This commit is contained in:
parent
363cc28810
commit
27dedec6ca
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue