Reputation: 47
Is it possible to hook unity game functions if game is built as webGL and is ran in the web browser? I no need solution to do it, I just want avoid possible cheaters.
Upvotes: 0
Views: 519
Reputation: 481
Yep, you can use unityInstance.SendMessage('MyGameObject', 'MyFunction', 'MyString');
construction.
Here you can search more information https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html
Upvotes: 1