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} />;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.