Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 764 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 764 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 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.