Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 414 forks source link

Nested Scaling Support #35

Closed Seneral closed 6 years ago

Seneral commented 8 years ago

Description: Nested Scaling Support will enable for Group Nodes, or generally seen nested canvases.

Progress: Problem: Nested Scale areas get shifted when atleast two groups in the hierarchy are scaled (the scale gets stacked), but the shift amount is yet unknown. State: Environment to test this out is already setup. Factor for this shift value is definitely the position of the nested group relative to the topmost group, that means each parent group aswell as it's own position influences the shift value. Scale values of each parent group obviously influence the value, too. Goal: Calculating the shift value with a formula

Location: GUIScaleUtility.cs

Seneral commented 6 years ago

Dropped because it is not necessarily needed and technically too advanced. When using embedded canvases, you do that to separate purposes and make the canvases lighter. Doesn't make sense to add a way to edit a canvas IN a canvas:) Rather, consider tabbed canvas support (pretty easy) and a solid embedded canvas structure (Input/Output/Embed Nodes only).