Skip to content
peartreegamesPublic

About

Conditional Reaction Sequence Runner for Unity

Resources

Stars

14 stars

Watchers

3 watching

Forks

Repository files navigation

Evt.Graph

Code for "Creating a Serialized Conditional Reaction Sequence Graph in Unity" YouTube videos

Repository has been converted to a package module. The video-end branch contains the project at the time of the part 2 completion.

A few UIElements used were introduced in Unity 2021, for previous version of Unity the code will need to be modified to work. A PR with version compile directives would be welcome, but I don't think I'll ever get around to it.

Installation

Can be installed via the Package Manager > Add Package From Git URL...

This repo has a dependency on the EvtVariable package which MUST be installed first. (From my understanding Unity does not allow git urls to be used as dependencies of packages) https://github.com/peartreegames/evt-variables.git

then the repo can be added

https://github.com/peartreegames/evt-graph.git

Architectural Overview

Architecture

Changes

  • Templates: Save As and Load Evt.Graph structures as template assets

Todos

  • Zoom Persistence (Seems to be more complicated than originally thought)
  • Foldout Persistence
  • Rest of EvtTriggers
  • Standard set of Condition/Reactions
  • Allow template graph editing directly in GraphView
  • Lock GraphView to selected EvtTrigger (Entering play mode causes issues, need to revisit)

About

Conditional Reaction Sequence Runner for Unity

Resources

Stars

14 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages