2019-10-03 19:37:30 -04:00
---
id: quick-start
title: Quick start
hide_title: true
sidebar_label: Quick start
---
2019-10-03 17:05:26 -04:00
# Quick start
## Installation
_Prerequisite: Since Unity Atoms is using the Unity Package Manager (UPM) you need to use Unity version 2018.3 >=_
2020-01-23 14:48:42 -05:00
### NPM
2019-10-03 17:05:26 -04:00
Add the following to your `manifest.json` :
```
{
"scopedRegistries": [
{
"name": "NPM Registry",
"url": "https://registry.npmjs.org",
"scopes": [
"com.mambojambostudios.unity-atoms-core",
2020-03-01 20:26:06 -05:00
"com.mambojambostudios.unity-atoms-base-atoms",
2020-03-21 19:15:03 -04:00
"com.mambojambostudios.unity-atoms-fsm",
2019-10-03 17:05:26 -04:00
"com.mambojambostudios.unity-atoms-mobile",
2019-10-15 19:43:51 -04:00
"com.mambojambostudios.unity-atoms-mono-hooks",
2019-10-03 17:05:26 -04:00
"com.mambojambostudios.unity-atoms-tags",
"com.mambojambostudios.unity-atoms-scene-mgmt",
"com.mambojambostudios.unity-atoms-ui"
]
}
],
"dependencies": {
...
2020-03-01 20:26:06 -05:00
"com.mambojambostudios.unity-atoms-core": "4.0.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.0.0",
2020-03-21 19:15:03 -04:00
"com.mambojambostudios.unity-atoms-fsm": "4.0.0",
2020-03-01 20:26:06 -05:00
"com.mambojambostudios.unity-atoms-mobile": "4.0.0",
"com.mambojambostudios.unity-atoms-mono-hooks": "4.0.0",
"com.mambojambostudios.unity-atoms-tags": "4.0.0",
"com.mambojambostudios.unity-atoms-scene-mgmt": "4.0.0",
"com.mambojambostudios.unity-atoms-ui": "4.0.0",
2019-10-03 17:05:26 -04:00
...
}
}
```
2020-03-01 20:26:06 -05:00
Note that the core and base atoms packages are mandatory while the others are optional. If you don't want a subpackage, simply remove it from your `dependencies` .
2019-10-03 17:05:26 -04:00
2020-01-23 14:48:42 -05:00
### 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 ).
```
# required
openupm add com.mambojambostudios.unity-atoms-core
2020-03-01 20:26:06 -05:00
openupm add com.mambojambostudios.unity-atoms-base-atoms
2020-01-23 14:48:42 -05:00
# optional
2020-03-21 19:15:03 -04:00
openupm add com.mambojambostudios.unity-atoms-fsm
2020-01-23 14:48:42 -05:00
openupm add com.mambojambostudios.unity-atoms-mobile
openupm add com.mambojambostudios.unity-atoms-mono-hooks
openupm add com.mambojambostudios.unity-atoms-tags
openupm add com.mambojambostudios.unity-atoms-scene-mgmt
openupm add com.mambojambostudios.unity-atoms-ui
```
2019-10-03 17:05:26 -04:00
### Github URL
There is an alternative approach installing Unity Atoms using the Github URL to this repo.
Add the following to your `manifest.json` :
```
{
"dependencies": {
2019-10-07 15:37:04 -04:00
...
2020-03-02 14:12:38 -05:00
"com.mambojambostudios.unity-atoms": "https://github.com/AdamRamberg/unity-atoms.git#master",
2019-10-07 15:37:04 -04:00
...
2019-10-03 17:05:26 -04:00
}
}
```
## Create your first Atom
2019-10-20 16:25:14 -04:00
You are now ready to create your first Atom. Simply right click somewhere in the Project window and go to **Create / Unity Atoms** and pick the Atom of your choice:
2019-10-03 17:05:26 -04:00
2019-10-20 16:25:14 -04:00
![create-your-first-atom ](assets/create-your-first-atom.png )
Now you are ready to go to [Overview and philosopy ](./overview.md ) to learn more about Unity Atoms!