Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

rosetree_unity

rose tree class for unity

see it in action in this code made for global game jam '23

https://github.com/willWallace-RIT/treeGeneration

the code is fairly self documented with the exception of rRun which recursively runs a defined function on each traversed node farther down the line.

//sample


  node.rRun((Dictionary<string, object> p, Node<Branch> node) => {
        string v = (string)p["variableDictEntry"];
   Debug.Log(v);
   Debug.log(id);
        return new Dictionary<string, object>(); 
    }, new Dictionary<string, object>() { { "variableDictEntry", "valueofarbitrarytype"} });

About

rose tree class for unity

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages