Skip to content

ReactUnity/full-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Unity Development Sample

This repo is used for developing and manually testing ReactUnity. However, it contains many examples that can be useful for users of ReactUnity.

There is also a simpler sample project, see https://github.com/ReactUnity/samples.

How to Use

Open the project in Unity. Open MainScene and click Play. Navigate the examples in rendered UI.

To make changes to the UI:

  • Go to <ProjectRoot>/react
  • Run yarn install and yarn start from this folder
  • Make changes to React files (e.g. src/pages/home/index.tsx)
  • Click "Play" in Unity. The changes you make to the source code will be automatically applied to the UI.

See the main project for further instructions.