Search Issue Tracker
Fixed
Votes
0
Found in
4.5.0a4
Issue ID
583839
Regression
No
UnityEvent documentation has inconsistencies between c# and javascript
The scripting reference at Editor/Data/Documentation/Documentation/ScriptReference/UnityEvent%603.html says you should derive your class from MonoBehavior in c#, but the documentation for other languages (Boo, JavaScript) show you must derive from the UnityEvent<T> type.
The monobehavior example does not work, while the javascript example works.
The same issue is present in UnityEvent'2 '3 and '4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Multiplayer Play Mode package throws ArgumentNullException and can't be installed via Package Manager
- Video preview in the Inspector freezes shortly after the first play and does not recover until paused and replayed
- MSB3277 conflicts between different versions of "System.Numerics.Vectors" when using DotNet 11.0
- "Cannot create Settings Providers for: CreateAllChildSettingsProviders" error is thrown in the Console after fixing PolySpatial visionOS package validation error after installing XR Interaction Toolkit VisionOS Sample
- "Unable to find style 'VideoClipImporterLabel' in skin 'GameSkin' " warning thrown when converting the Video Clip Inspector to a floating window in Play mode
Add comment