refactor(camera): remove unused uiScale field and usage

main
uc-hoba 3 weeks ago
parent f00c121bac
commit 84d253b227
  1. 5
      Assets/Scripts/FreeMotionCameraRig.cs

@ -33,9 +33,6 @@ namespace UltraCombos
[Header("Automatic")]
[SerializeField] private float horizontalSpeed = 0;
[Header("Dev")]
[SerializeField] private float uiScale = 1;
private Queue<Vector3> trail = new Queue<Vector3>();
@ -82,7 +79,7 @@ namespace UltraCombos
{
#if UNITY_EDITOR
var rot = Quaternion.Euler(0, transform.localEulerAngles.y, 0);
var trs = Matrix4x4.TRS(transform.position, rot, transform.localScale * uiScale);
var trs = Matrix4x4.TRS(transform.position, rot, transform.localScale);
using (new Handles.DrawingScope(new Color32(5, 169, 245, 255), trs))
{
Handles.DrawWireDisc(Vector3.zero, Vector3.up, distance);

Loading…
Cancel
Save