Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit e650bdf

Browse files
authored
fix: native messages bridge SetSceneNumber type (#693)
1 parent 38a1416 commit e650bdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/unity-interface/nativeMessagesBridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class NativeMessagesBridge {
9797

9898
this.callSetEntityId = this.unityModule.cwrap('call_SetEntityId', null, ['string'])
9999
this.callSetSceneId = this.unityModule.cwrap('call_SetSceneId', null, ['string'])
100-
this.callSetSceneNumber = this.unityModule.cwrap('call_SetSceneNumber', null, ['string'])
100+
this.callSetSceneNumber = this.unityModule.cwrap('call_SetSceneNumber', null, ['number'])
101101
this.callSetTag = this.unityModule.cwrap('call_SetTag', null, ['string'])
102102

103103
this.callSetEntityParent = this.unityModule.cwrap('call_SetEntityParent', null, ['string'])

0 commit comments

Comments
 (0)