Tiny modular pieces utilizing the power of Scriptable Objects
Unity Atoms is derived from and a continuation of Ryan Hipple's talk from Unite 2017. The original source code can be found here.
This talk by Richard Fine is a forerunner to Ryan Hipple's talk during Unite 2016.
The general approach to building scripts in Unity often generates a code base that is monolithic. This results in that your code is cumbersome to test, non-modular and hard to debug and understand.
Unity Atoms is an open source library that aims to make your game code:
- 📦 Modular - avoid scripts and systems directly dependent on each other
- ✏️ Editable - Scriptable Objects makes it possible to make changes to your game at runtime
- 🐛 Debuggable - modular code is easier to debug than tightly coupled code
Prerequisite: Since Unity Atoms is using the Unity Package Manager (UPM) you need to use Unity version 2018.3 >=
Use the following URL template for the needed subpackage, remove everything after ".git?" to full instalation.
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/"selected_folder_name"
# required in order
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/Core
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/BaseAtoms
# optional
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/FSM
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/InputSystem
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/Mobile
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/MonoHooks
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/SceneMgmt
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/Tags
https://github.com/Gnarly-Games/unity-atoms.git?path=/Packages/UI
The Unity Atoms docs are now published at https://unity-atoms.github.io/unity-atoms.
- Unity Atoms — Tiny modular pieces utilizing the power of Scriptable Objects
- Announcing Unity Atoms v2
- Unity Atoms v4 is out!
Read this article on Medium for a great introduction to Unity Atoms.
For questions and support please join our Discord channel.
We are looking for more people to join the team! Contact us if you want to jump aboard.