UNT0006 Incorrect message signature
December 11, 2019 ยท View on GitHub
This Unity message uses an incorrect method signature.
Examples of patterns that are flagged by this analyzer
using UnityEngine;
class Camera : MonoBehaviour
{
private void OnApplicationPause(int foo, bool pause, string[] bar)
{
}
}
Solution
Fix message signature:
using UnityEngine;
class Camera : MonoBehaviour
{
private void OnApplicationPause(bool pause)
{
}
}
A code fix is offered for this diagnostic to automatically apply this change.