Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output with Properties #208

Open
wants to merge 39 commits into
base: master
Choose a base branch
from

Conversation

dannymate
Copy link

Allowed Properties to be used with the OutputAttribute.
I switched from using FieldInfo the MemberInfo. I needed to create a few helper methods to mirror the functionality you were using.

Example:
image
image

Simplifies passthrough nodes like the FloatNode in the example.
Allows you to generate a random number for each edge individually.

These are just a couple of things I've thought of for using Properties as ports.

I also have a branch that goes through and changes most references to FieldInfo/field to member for consistency here: https://github.com/dannymate/NodeGraphProcessor/tree/FieldInfo-To-MemberInfo.
I didn't put it in this request in case you thought it was superfluous.

Greebling and others added 30 commits October 11, 2021 11:20
This reverts commit a511e4a.
Added proxiedFieldPath to input for CustomPortBeh ports
Added ability to have property fields for dynamic ports.
Added GetNonRelayEdges List<SerializedEdge> extensions
Daniel Burgess and others added 9 commits February 4, 2022 18:28
Added FieldInfoWithPath as it easier to work with
BaseGraphView uses Param CustomNodeType to create Node on drop
Prepended Custom to ParamNodeType in ExposedParam. Defaults to null
Added CustomMenuItem attribute for custom node creation methods
CreateNodeMenuWindow now uses a given Func to create a node.
Created example.
Can Add Custom Menu Items to Node Menu
OuputAttribute now can target properties
Replaced most instances of FieldInfo with MemberInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants