GitHub - Salepate/UnityProcGen: runtime procedural generative graph

Unity Proc Gen Graph

Procedural Generative Graph Editor

hosted by ImgBB
Unity ProcGen Graph Editor (image hosted by ImgBB)

Functions

  • Generate data at runtime using a graph
  • Graph can also be edited at runtime to quickly iterate

Underlying Mechanics

  • Use Unity.GraphView API (poorly)
  • Nodes employ polymorphism
  • Use Newtonsoft (partly) for serialization

Performances

  • probably poorly for now

Samples

hosted by ImgBB
Use perlin noise to decide walkable tile
hosted by ImgBB
combine perlin to generate basic heightmap

Usage

ProcGen.GenerativeGraphInstance is the main structure to use graphs during runtime.

see DungeonTileSpawner.cs for a simple use case