Event handler with UniScript.

Which is the conversion of this line to UniScript?

OpenIABEventManager.purchaseSucceededEvent += purchaseSucceededEvent;

1 Answer

1

In UnityScript(JavaScript) you can subscribe to events as you did in your original post, but you can not create them(delegate and static event).

You should be fine.

Event tutorials with source in (C# and UnityScript)

Thanks a lot!! Solved!