Skip to content

kimballfrank/react-native-unity-demo

 
 

Repository files navigation

react-native-unity-demo

This is a demo project for react-native-unity

How to Build

1. Clone repo & install npm modules

git clone https://github.com/kimballfrank/react-native-unity-demo.git

cd react-native-unity-demo

npm install

2. Download Unity version 2018.2.17f1
Copy and paste this URL into your browser: hunityhub://2018.2.17f1/88933597c842

3. Open unity project unity/Cube/Assets/test.unity

4. Click Build => Export IOS or Export Android

5. Edit node_models/@types/react-native/index.d.ts
Comment out line 8537: export type Geolocation = GeolocationStatic;

6. Compile Typescript

npm run watch

7. React-native cli run-ios

npm run ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 72.0%
  • Objective-C 9.8%
  • TypeScript 9.6%
  • Python 3.8%
  • Java 3.3%
  • JavaScript 1.5%