Skip to content

Files

Latest commit

 

History

History
18 lines (11 loc) · 762 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 762 Bytes

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 npm install and npm 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.