Skip to content

nostek/XNodePluginOrder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XNodePluginOrder

A data-oriented sorting order plugin for xNode.
Change paths and add-node menu order without changing sourcecode. Example

Installation:

In your CustomNodeGraphEditor cs file override these functions.

	public override string GetNodeMenuName(Type type)
	{
		return XNodeEditor.XNodeOrder.GetNodeMenuName(type, base.GetNodeMenuName(type));
	}

	public override int GetNodeMenuOrder(Type type)
	{
		return XNodeEditor.XNodeOrder.GetNodeMenuOrder(type, base.GetNodeMenuOrder(type));
	}

They can be used one by themself or both at the same time.

Usage:

Create a Order ScriptableObject by rightclicking the project view and selecting Create/xNode/Order.
Sort nodes by draging them up and down the list.
Paths can be changed in the edit field. Clear the field to restore the node default value.

About

A sorting order plugin for xNode

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages