adska
adska

Reputation: 47

Unity Game WebGL hooking

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

Answers (1)

Radomyr Slaboshpitskyi
Radomyr Slaboshpitskyi

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

Related Questions