Unity messages are called by the runtime even if they're empty. Remove them to avoid unnecessary processing.
using UnityEngine;
class Camera : MonoBehaviour
{
private void FixedUpdate()
{
}
private void Foo()
{
}
}
Remove empty Unity message:
using UnityEngine;
class Camera : MonoBehaviour
{
private void Foo()
{
}
}
A code fix is offered for this diagnostic to automatically apply this change.