Skip to content

Gnarly-Games/unity-atoms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

503 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚛️ Unity Atoms

openupm openupm openupm openupm openupm openupm openupm openupm openupm

Tiny modular pieces utilizing the power of Scriptable Objects

Influences

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.

Motivation

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

Installation

Package Manager -> Git URL

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

Documentation

The Unity Atoms docs are now published at https://unity-atoms.github.io/unity-atoms.

Blog posts

How does it work?

Read this article on Medium for a great introduction to Unity Atoms.

Looking for support?

For questions and support please join our Discord channel.

Maintainers

We are looking for more people to join the team! Contact us if you want to jump aboard.

About

⚛️ Tiny modular pieces utilizing the power of Scriptable Objects

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 98.2%
  • JavaScript 1.7%
  • Other 0.1%