Unity messages should not be flagged as unused because Unity invokes those messages.
IDE0052 - Private method can be removed as it is never invoked.
using UnityEngine;
class Camera : MonoBehaviour
{
void Start()
{
//Some code
}
/// <summary>
/// This reference triggers IDE0052 <see cref=""Start"" />
/// </summary>
public float speed = 0f;
}The IDE cannot find any references to the method Start and believes it to be unused.
Even though the IDE cannot find any references to Start, it will be called by Unity, and should not be removed.