jeffreylanters / react-unity-webgl

React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.
https://react-unity-webgl.dev
Apache License 2.0
1.73k stars 163 forks source link

Update send-message.md #459

Closed AhmadMansy closed 1 year ago

AhmadMansy commented 1 year ago

replace GameController in App.jsx with EnemyController (the cs class that is used)

jeffreylanters commented 1 year ago

Hi! I used GameController specifically to make it extra clear that the first argument refers to the name of the GameObject rather then a class's name. So that's why it is like that.