I am still learning C# and I am trying to make a script. But my compiler (visual studio) state me an error on the ‘Tick’ function. Does anyone can help me?
The error message is:
"CS0123 C# No overload for matches delegate ‘Func’
However, I get an annoying warning when I don’t use await in it.
I tried returning an empty task but the game freezes.
Is there a workaround or should I just suppress the warning?