Limited interface support

While Unity's JavaScript does support inheritance and interfaces, it has very limiting caveat that you can either inherit your class from an existing class, or declare one interface.

JavaScript (only one allowed):

class MyClass extends MyObject {...}

C#:

class MyClass : MonoBehaviour, IMyObject, IMyItem {...}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.76.138