Dotween reports that the name "DOTweenModuleUI" does not exist in the current context

First, if #if is followed by a value of 0, it will not be compiled. It can be used as a multi-line comment.
Then Dotween reports an error that the name "DOTweenModuleUI" does not exist in the current context. Open this file and find

#if true &&UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1

If the version is inconsistent, there is no way to compile DOTweenModuleUI, which causes it to be unrecognizable and report an error in vs. Although it does not affect the running of the program in unity, there is no way to break the point.
You can delete this precompilation command and regenerate the solution.
insert image description here

Guess you like

Origin blog.csdn.net/qq_45498613/article/details/129285589