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.75k stars 162 forks source link

Update send-message.md #459

Closed AhmadMansy closed 2 years ago

AhmadMansy commented 2 years ago

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

jeffreylanters commented 2 years 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.