Update is dependent on the frame rate. Use Time.deltaTime instead of Time.fixedDeltaTime.
using UnityEngine;
class Camera : MonoBehaviour
{
public void Update()
{
var foo = Time.fixedDeltaTime;
}
}
Use Time.deltaTime:
using UnityEngine;
class Camera : MonoBehaviour
{
public void Update()
{
var foo = Time.deltaTime;
}
}
A code fix is offered for this diagnostic to automatically apply this change.