Closed neoneper closed 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!
FIX NODE AND PORT VARIABLE It is now possible to use nodes or ports as null variables![image](https://user-images.githubusercontent.com/12010067/94576378-a50fa200-024b-11eb-9fe2-112b9f7d93b5.png)
Added NodeTypeInfoData Class at NodeReflection.cs:
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 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.
It is started from ReflectionData, being accessible only natively.![image](https://user-images.githubusercontent.com/12010067/94383534-bc993e80-0116-11eb-9d36-df02c8bdf94e.png)
Added ContextMethodAttribute at Attributes.cs It allow ContexMenu from node for the internal methods.![image](https://user-images.githubusercontent.com/12010067/94384276-8bba0900-0118-11eb-90e0-6560083c8f1b.png)
NEW FEATURES FROM THIS UPDATE:
Contex Menu
Edit Node Script
![image](https://i.gyazo.com/d16cfe2ff6bde7f1a6a72c1745c1fa89.gif)