Is this possible to integrate / configure unity(game engine) with react native and develop the game based application? if yes, can you tell me what is the procedure / architecture? Thanks
You can embed a WebGL component inside a RN app. And then load the game build from some server.
react-unity-webgl can be helpful here.
Something on these lines
//constructor
this.unityContent = new UnityContent(
"<YOUR_BUILD_FILE>",
"<YOUR_UNITY_LOADER_FILE>"
);
//render
render() {
return <Unity unityContent={this.unityContent} />;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With