Skip to content

Can i call a function which i created in unity from my React js app. #540

Discussion options

You must be logged in to vote

Hello, indeed, it is possible to achieve this by utilizing the SendMessage function provided by the Unity Context hook. Additional examples and detailed explanations are available in the documentation.

https://react-unity-webgl.dev/docs/api/send-message

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@harmanpreet7916
Comment options

@jeffreylanters
Comment options

Answer selected by jeffreylanters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants