- Pull repository
- Setup VSCode for Unity and use game.code-workspace with VSCode for auto-format / auto-complete
- Setup ReactUnity (see below)
- Try running game and should be able to move around with WASD
- Install node for windows
- Open terminal and navigate to /react
- Install node dependencies with npm install
- Open Unity Project
- Open React/Quick Start window inside Unity, and install dependencies
- When developing: Run npm start inside /react folder
- Test UI by going into play mode and on the Services/ReactUnity game object, change the Debug Route on the UI Router script.
- When building: Run npm run build inside /react folder and copy built assets to Resources/react
Documentation: https://reactunity.github.io/
Repo: https://github.com/ReactUnity/core
- Unity Input System: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
- Unity Post Processing: https://docs.unity3d.com/Packages/[email protected]/manual/Quick-start.html
- "Skyplane" Shader: https://aras-p.info/blog/2019/02/01/Infinite-sky-shader-for-Unity/
- Rendering Grids: https://gamedev.stackexchange.com/questions/182263/infinite-world-floor-grid-shader
- Computing Vertex Normals from Heightmap: https://forum.unity.com/threads/calculate-vertex-normals-in-shader-from-heightmap.169871/
- HDR Bloom: https://gamedev.stackexchange.com/questions/137659/unity-how-to-apply-bloom-to-only-some-objects-in-the-scene
- sRGB vs Linear: https://forum.unity.com/threads/understanding-srgb-and-gamma-corrected-values-in-the-render-pipeline.783224/
- Can input some text and see different fonts render them: https://fonts.google.com/?preview.text=Handler&preview.text_type=custom
- Show unicode characters in text: https://qaz.wtf/u/show.cgi?show=Handler&type=string
- Unicode Characters for Japanese: https://stackoverflow.com/questions/19899554/unicode-range-for-japanese