unity-sentis onnx reinforcement-learning license:mit region:us
---
license: mit
library_name: unity-sentis
pipeline_tag: reinforcement-learning
---

# Neural Cellular Automata in Unity Sentis Format (Version 1.3.0-pre.3*)
*Version 1.3.0 Sentis files are not compatible with Sentis 1.4.0 and need to be recreated/downloaded

This is the [Neural Cellular Automata](https://distill.pub/2020/growing-ca/) model in Sentis Format to run in Unity 2023.

There are three trained files which create a turtle 🐢, lizard 🦎 and a 💩.

## How to use
* Create a new scene in Unity 2023
* Install `com.unity.sentis` version `1.3.0-pre.3` from the package manager
* Add the `RunAutomata.cs` to the Main Camera
* In `Assets/StreamingAssets` put the `lizard.sentis`, `turtle.sentis` and `poop.sentis` files.
* Create a quad or image and attach an unlit transparent material to it.
* Drag the same material into the `outputMaterial` field
* You can select the different models in the inspector window