Search Unity

Question Inherited methods not displaying and marked as my own methods?

Discussion in 'Visual Scripting' started by kenji195, Dec 15, 2020.

  1. kenji195

    kenji195

    Joined:
    Dec 15, 2020
    Posts:
    2
    My scripts in Visual Studio 2019 suddenly displayed all methods in yellow font (as if they were made by myself and not inherited from default settings and libraries) instead of blue as it should
    Also, when I'm typing a new method, as for example: "OnTriggerEnter2D", that method never ever appears on the "matches list"

    When I execute the game, it all runs normal and there's no problems, but it really bothers me a lot they're all yellow and not appear on the list, makes me nervous if I'm writing the names properly or not

    I really have no idea what caused it, it just happened, I checked on my project to see if the pointer hover worked (it didn't) and when I went back to check the code, all methods were yellow, how can I fix this?, what could've caused it?
     

    Attached Files:

    • T4.png
      T4.png
      File size:
      46.9 KB
      Views:
      302
  2. kenji195

    kenji195

    Joined:
    Dec 15, 2020
    Posts:
    2
    It's solved
    What did I do?...... nothing
    Literally nothing, I just scrolled up and down reading my code and bam, fixed
    So many days stucked with that situation, and I got out of it the same way I got in >:I