Skip to content

This is EARLY ACCESS and EXPERIMENTAL (also probably discontinued...)

License

Notifications You must be signed in to change notification settings

LeHero921/PowerNodes

Repository files navigation

Power Nodes - Preview

This version Power Nodes is a PREVIEW !


What is Power Nodes

Power Nodes is a designer-friendly tool, designed to simplify prototyping and design workflows.

It is a Unity Package, developers can add to their projects and extend their existing systems for easier use


How to Install

Power Nodes is a Unity Package, that you can install by copying the git-url of this repo and adding it inside the Unity Package-Manager.


How to Use it - Designer

After importing the package, you will see a new entry to the "Create" menu. From: Create -> QuantuumStudios -> PowerNodes -> you can create new Node Trees, Root/System Nodes [...].

A NodeTree contains a RootNode which you can connect to system Nodes. A SystemNode contains a NodeBehaviour which internally contains NodeFunctions, but thats Developer stuff.

To execute the Logic of a Node Tree, you can add a NodeExecutionContainer script to any game object (or Prefab). The Node Execution Container holds a reference to a Node Tree.


How to Use it - Developer

Now here comes the fun part... I try to make this system as flexible as possible but currently you have to do a small setup to add your systems.

1. Create System Nodes for your System

Within a Folder of your choosing, rightclick -> Create -> QuantuumStudios -> PowerNodes -> SystemNode. Please fill out all Fields.

2. Create Custom NodeBehaviour script for your System

  • Create a new C# script
  • Instead of MonoBehaviour, derive from NodeBehaviour
    • Please Note: NodeBehaviour derives from Scriptable object, please add [CreateAssetMenu()] to your implementation
  • Follow Documentation or summary-tooltips inside your IDE
  • Please follow the Documentation for a detailed description

3. Update NodeBehaviour Functions

  • Look at the top bar of the Editor
  • click QuantuumStudios -> PowerNodes -> Node Behaviours -> Update All Behaviour Functions
  • This adds all your NodeFunctions to the NodeBehaviour script you created



Components of this System - instead of real Documentation

Comming Soon™️

About

This is EARLY ACCESS and EXPERIMENTAL (also probably discontinued...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages