I have a strange problem with my Scripts in Unity/Visual studio none of the monoBehavior Methods will be shown in VS editor! i mean VS doesn't recognize them for example when i want to use "OnTriggerEnter2D" the editor doesn't recognize it. also i tried to open scripts with MonoDevelop but didn't help.
Unity version: 5.6.7f1 pro
Visual studio version: 2019 Enterprise
public class Score : MonoBehaviour {
// Use this for initialization
void Start() {
}
// Update is called once per frame
void Update() {
Debug.Log("Test!");
}
void OnTriggerEnter(){} // this line isn't recognized by intellisense
}