Skip to content

Commit c1eb52d

Browse files
Added new example game
1 parent 83e4834 commit c1eb52d

17 files changed

+25264
-13633
lines changed

.gitignore

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,5 @@
1-
# dependencies
1+
# vendors
22
/node_modules
3-
/.pnp
4-
.pnp.js
5-
6-
# testing
7-
/coverage
83

94
# production
10-
/build
11-
12-
# misc
13-
.DS_Store
14-
.env.local
15-
.env.development.local
16-
.env.test.local
17-
.env.production.local
18-
19-
npm-debug.log*
20-
yarn-debug.log*
21-
yarn-error.log*
22-
23-
# unity project
24-
/project/**/[Ll]ibrary/
25-
/project/**/[Tt]emp/
26-
/project/**/ProjectSettings/
27-
/project/**/UnityPackageManager/
28-
/project/**/[Oo]bj/
29-
/project/**/[Ll]ogs/
30-
/project/**/Assets/AssetStoreTools*
31-
/project/**/.vs/
32-
/project/**/ExportedObj/
33-
/project/**/.consulo/
34-
/project/**/*.csproj
35-
/project/**/*.unityproj
36-
/project/**/*.sln
37-
/project/**/*.suo
38-
/project/**/*.tmp
39-
/project/**/*.user
40-
/project/**/*.userprefs
41-
/project/**/*.pidb
42-
/project/**/*.booproj
43-
/project/**/*.svd
44-
/project/**/*.pdb
45-
/project/**/*.opendb
46-
/project/**/*.pidb.meta
47-
/project/**/*.pdb.meta
48-
/project/**/sysinfo.txt
5+
/build

.npmrc

Whitespace-only changes.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
For more information about contribution please head over to the [documentation](https://github.com/jeffreylanters/react-unity-webgl#contribution-and-development).
1+
For more information about contribution please head over to the [documentation](https://react-unity-webgl.dev/docs/contributing).

README.md

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
<div align="center">
1+
# React Unity WebGL Template
22

3-
![readme splash](https://raw.githubusercontent.com/jeffreylanters/react-unity-webgl-tests/master/.github/WIKI/repository-readme-splash.png)
4-
5-
[![license](https://img.shields.io/badge/license-Apache_2.0-red.svg?style=for-the-badge)](https://github.com/jeffreylanters/react-unity-webgl-tests/blob/master/LICENSE.md)
6-
[![npm](https://img.shields.io/npm/v/react-unity-webgl.svg?style=for-the-badge)](https://www.npmjs.com/package/react-unity-webgl)
7-
[![build](https://img.shields.io/github/workflow/status/jeffreylanters/react-unity-webgl-tests/Pre-Compile%20and%20Lint?style=for-the-badge)](https://github.com/jeffreylanters/react-unity-webgl-tests/actions)
8-
[![deployment](https://img.shields.io/github/deployments/jeffreylanters/react-unity-webgl-tests/github-pages?style=for-the-badge)](https://github.com/jeffreylanters/react-unity-webgl-tests/deployments/activity_log?environment=github-pages)
9-
[![stars](https://img.shields.io/github/stars/jeffreylanters/react-unity-webgl.svg?style=for-the-badge&color=fe8523&label=stargazers)](https://github.com/jeffreylanters/react-unity-webgl/stargazers)
10-
[![downloads](https://img.shields.io/npm/dt/react-unity-webgl.svg?style=for-the-badge&color=40AA72)](https://www.npmtrends.com/react-unity-webgl)
11-
[![size](https://img.shields.io/bundlephobia/minzip/react-unity-webgl?style=for-the-badge&label=size)](https://bundlephobia.com/result?p=react-unity-webgl)
12-
[![sponsors](https://img.shields.io/github/sponsors/jeffreylanters?color=E12C9A&style=for-the-badge)](https://github.com/sponsors/jeffreylanters)
13-
[![donate](https://img.shields.io/badge/donate-paypal-F23150?style=for-the-badge)](https://paypal.me/jeffreylanters)
14-
15-
An out-of-the-box test environment for the React Unity WebGL package. This test environment contains a Create-React-App including a Source and Build Unity WebGL project allowing testing and debugging all of it's features.
16-
17-
[**Documentation**](#documentation) &middot;
18-
[**Module Repository**](https://github.com/jeffreylanters/react-unity-webgl) &middot;
19-
[**Buy me a Coffee**](https://github.com/sponsors/jeffreylanters) &middot;
20-
[**Discussion Board**](https://github.com/jeffreylanters/react-unity-webgl/discussions)
21-
22-
**Made with &hearts; by Jeffrey Lanters**
23-
24-
</div>
25-
26-
# Getting Started
27-
28-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). Use the built-in scripts to install and start the repository right away. This runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
29-
30-
```sh
31-
$ npm install
32-
$ npm start
33-
```
34-
35-
# Documentation
36-
37-
Hi there and welcome to the React Unity WebGL Test repository! In this repository you'll find everything you'll need for testing and playing with the React Unity WebGL module. This repository is buildt using Create React App for a most basic boilerplate.
38-
39-
## Template Structure
40-
41-
Among this project you'll find three directories;
42-
43-
- "src" Containing the React Application here for you to test and modify
44-
- "public" Containing the Static assets which includes the Unity WebGL build "unitybuild"
45-
- "project" Containing the Raw Unity Project (not required but here for demo purposes)
46-
47-
## Usage for Module development
48-
49-
To use this repository for the module development of the React Unity WebGL module, you should remove the react-unity-webgl module using `npm remove react-unity-webgl` and install a manual build instead. For more details on building the module please head over to the React Unity WebGL [Documentation](https://github.com/jeffreylanters/react-unity-webgl#contribution-and-development) for further details on contribution, development and testing.
3+
An out-of-the-box sandbox environment for the React Unity WebGL package. This environment contains a Create-React-App including both the source and build of a Unity WebGL project, allowing to test and debug all of its features.

0 commit comments

Comments
 (0)