Skip to content

A visual scripting system for Unity ECS. Quickly create gameplay logic.

License

Notifications You must be signed in to change notification settings

Pontoco/Lattice

Repository files navigation

Lattice Visual Scripting

Lattice is a visual gameplay programming system for Unity's ECS. It aims to be:

  • Productive: Lattice aims to minimize the time from design to implementation.
  • Flexible: Nodes are written with simple C# functions.
  • Performant: Lattice is compiled directly to .NET IL.

Status

Lattice is in preview and currently being used for Pontoco's upcoming projects. As improvement are made, new versions will be published to this public repository.

Follow along with development on the Unity Forum Thread, or on Discord.

Installation

Add this git repository in the Unity Package Manager.

Usage

  1. Create a Lattice Script in the project view (Create -> Lattice Script)
  2. Add a Lattice Executor Authoring component to a gameobject in a subscene, and attach the graph.

Optionally, enable debugging with the Menu Item: Lattice -> Options -> Disable Debugging.

Use the [LatticeNode] (on static functions) and [LatticeNodes] (on static classes) attributes to expose new nodes to Lattice.

For more information, watch the Overview Video.

Package Assemblies

  • Lattice.Runtime: This is the core Lattice compiler and executor. It also contains the serialized asset formats for graphs.
  • Lattice.StandardLibrary: A default set of nodes and extensions that projects can use. Most common nodes are exposed here.
  • Lattice.Editor: The Unity Editor UI and all workflows associated.

Licensing

Lattice is licensed under the Free For Small Business License. Please read the license page for more information, or contact us with questions.

About

A visual scripting system for Unity ECS. Quickly create gameplay logic.

Topics

Resources

License

Stars

Watchers

Forks

Languages