How to make IntelliSense work with code contained in "#if !UNITY_EDITOR"

The code contained in "if !UNITY_EDITOR" is very inconvenient to develop because IntelliSense does not work.
Currently, we are temporarily removing the "!" but we sometimes forget to remove this mark.

0
1 comment

Hello,

Open Preferences -> External Tools in Unity Editor, choose Rider as the external editor and enable Player project generation. After that, it will be possible to choose the project context in breadcrumbs.

0

Please sign in to leave a comment.