Search Issue Tracker

Fixed

Votes

0

Found in

4.5.0a4

Issue ID

583839

Regression

No

UnityEvent documentation has inconsistencies between c# and javascript

Docs - Infrastructure

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.