Closed asadm closed 5 months ago
The signature for InsertCoin is ordered wrong? https://github.com/asadm/playroom-unity/blob/aa3418e1125ae9accd48811aa2e81381422637f1/Assets/PlayroomKit/PlayroomKit.cs#L58
it should be similar to how js version is.
@asadm pushed fixes in #35.
It's listening to onDisconnect(callback) instead of passing the callback to insertCoin itself (see here)
instead of .then .catch here, just use the right callbacks
onLaunchCallback
andonDisconnectCallback
https://github.com/asadm/playroom-unity/blob/aa3418e1125ae9accd48811aa2e81381422637f1/Assets/Plugins/PlayroomPlugin.jslib#L59