send message from react to unity with bool parameter #191
-
Hello, sir! I'm trying to send a message from React to Unity with a bool parameter, but am getting this error
Sending messages with int parameter works fine. Could you help me figure out what I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! This is a limitation from Unity's side, a Boolean value is not supported as of the latest Unity version. There are a couple ways you could work around this, but I think the easiest and most pretty way would be to either send some JSON data, or just send an integer instead. I hope this helps you, good luck with your project! |
Beta Was this translation helpful? Give feedback.
Hi! This is a limitation from Unity's side, a Boolean value is not supported as of the latest Unity version. There are a couple ways you could work around this, but I think the easiest and most pretty way would be to either send some JSON data, or just send an integer instead. I hope this helps you, good luck with your project!