Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skibitsky/unity-now
▲ Vercel Now plugin for Unity. Deploy WebGL builds with ease
https://github.com/skibitsky/unity-now
csharp deployment unity unity-editor upm upm-package vercel webgl zeit zeit-now
Last synced: about 1 month ago
JSON representation
▲ Vercel Now plugin for Unity. Deploy WebGL builds with ease
- Host: GitHub
- URL: https://github.com/skibitsky/unity-now
- Owner: skibitsky
- License: mit
- Created: 2019-10-13T17:21:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-06T04:34:37.000Z (11 months ago)
- Last Synced: 2024-09-30T18:02:51.858Z (about 1 month ago)
- Topics: csharp, deployment, unity, unity-editor, upm, upm-package, vercel, webgl, zeit, zeit-now
- Language: C#
- Homepage:
- Size: 1.92 MB
- Stars: 36
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Installation
### Install via OpenUPM
The package is available on the [openupm registry](https://openupm.com). It's recommended to install it via [openupm-cli](https://github.com/openupm/openupm-cli).
```
openupm add com.skibitsky.unity-now
```### Install via Git URL
Open *Packages/manifest.json* with your favorite text editor. Add the following line to the dependencies block.
{
"dependencies": {
"com.skibitsky.unity-now": "https://github.com/skibitsky/unity-now.git"
}
}Notice: Unity Package Manager records the current commit to a lock entry of the *manifest.json*. To update to the latest version, change the hash value manually or remove the lock entry to resolve the package.
"lock": {
"com.skibitsky.unity-now": {
"revision": "master",
"hash": "..."
}
}## Usage
0. Add your [access token](https://vercel.com/account/tokens) to the **Configure Now** assets (Assets/ConfigureNow)
1. Run Now→ Deploy from the menu bar
2. Select your WebGL build
3. Wait till deployment completes## Configuration
You can configure Unity Now using **Configure Now** scriptable object. By default it is located at *Assets/ConfigureNow* and contains the following properties:| Name | Description |
| --- | --- |
| **Token** | Vercel access token. You can generate a new one [here](https://vercel.com/account/tokens) |
| **Base URL** | Endpoint base URL. You can change it if you need a certain server location. [Read more](https://zeit.co/docs/api/#api-basics/server-specs/origins) |
| **Copy URL** | If enabled, Unity Now will save the deployment URL to the clipboard after the deployment is complete |## License
MIT © [skibitsky](http://skibitsky.com)