How can I place Unity WebGL in my React Native app?

后端 未结 3 826
面向向阳花
面向向阳花 2021-02-18 22:39

I have written a simple React Native app using WebGL. I used https://github.com/JilvanPinheiro/reactive-native-unity-webgl



        
3条回答
  •  囚心锁ツ
    2021-02-18 23:15

    Is it your entire codes? or a rest of them? you must add react and some other stuffs to make that to works. I write below codes for you if you don't have it add them to your project:

    import React, {Component} from 'react';
    import {
        View,
        documnet
    } from 'react-native';
    
    ...
    
    render () {
        return(
            
                 
            
        );
    }
    

提交回复
热议问题