McManning / BlueGraph

Visual Scripting Framework for Unity
MIT License
237 stars 30 forks source link

Improvments #43

Closed neoneper closed 3 years ago

neoneper commented 3 years ago

FIX NODE AND PORT VARIABLE It is now possible to use nodes or ports as null variables image

Added NodeTypeInfoData Class at NodeReflection.cs:
It provides useful methods and variables for working with nodes from their type. This class allowed me to create many new functions assigned to ReflectionData, without the need to modify many things within it. It also allowed me to centralize the useful functions that can be applied to the type of node. image I really couldn't think of a better name for her, but that name is not cool. It is not suggestible for her assignments.

It is started from ReflectionData, being accessible only natively. image

Added ContextMethodAttribute at Attributes.cs It allow ContexMenu from node for the internal methods. image

NEW FEATURES FROM THIS UPDATE:

Contex Menu image Edit Node Script image

McManning commented 3 years ago

I merged everything in this manually, except for the 77066101029f5dfde5a280ae0fc3c9c1b61316b7 (FIX Port And Nodes variable) commit. I'm hoping switching to a Dictionary like we discussed in Discord will help resolve this one. If not, we can work out another solution.

Thanks!