A code lens for event bindings in the Unity editor. In other words, it uses this in the Unity editor:
To show this in Visual Studio Code:
This extension was created by David Gileadi and is not affiliated in any way with Unity Technologies.
This extension contributes the following settings:
unity-event-lens.onlyScenesInBuildSettings: This extension reads.unityscene files to find event bindings. When this setting istrue(the default) it reads ProjectSettings/EditorBuildSettings.asset to determine which scenes are included in the game, and only looks in those scenes for event bindings. Change this setting tofalseto look for event bindings in all scenes under the Assets directory. This is quite a bit slower but can be necessary if you use scenes in Addressables or if you want to display event bindings for scenes in purchased assets, for example.unity-event-lens.useAccurateParsing: This extension parses C# files to findUnityEventmembers and the public methods they call. When this setting isfalse(the default) it uses regular expressions to parse them which is fast but occasionally inaccurate. Change this setting totrueto parse the C# files with an ANTLR parser and C# grammar, which is slower but potentially more accurate.unity-event-lens.debugLogging: Change this setting totrueto turn on debug logging for this extension, including timings.
- This extension currently doesn't distinguish between method overloads, so if you have multiple methods with the same name and one of them has an event binding to it, the other overloads will show the same binding too.

