MozillaReality / mred

INACTIVE - Mixed Reality Editor
27 stars 6 forks source link

Having scripts show up as "just another child" of a node is confusing. #88

Closed blairmacintyre closed 3 months ago

blairmacintyre commented 5 years ago

When you have a node with children and scripts, the display is confusing. The scripts may be far away from their parent visually when the graph below it is expanded, for example.

A Unity-like approach, where the scripts are listed in a nodes property panel, one after the other, with all of their properties shown, would be easier to understand, and make the graph layout easier to understand and less cluttered. This would also allow the script values to all be see, and edited, at the same time.

joshmarinacci commented 5 years ago

Can you show me a screenshot of where they put these in Unity? I originally had them going in a different place but I decided to put them as children of the node they attached to so that we'd only have one tree like visual structure in the UI

blairmacintyre commented 5 years ago

It adds them to the right side property sheet bar, under the basic properties. Each is collapsible with a typical triangle widget (like you have on the graph). I don't have unity installed, so I can't do a screen shot.

joshmarinacci commented 5 years ago

something like this? https://answers.unity.com/questions/1136288/need-help-disabling-a-script-in-another-gameobject.html

joshmarinacci commented 5 years ago

From the screenshot it appears that properties are in groups. There is one group of properties for the object (or perhaps each added component of the object from Unity's ECS) and another group for the properties of each script?

blairmacintyre commented 5 years ago

The only built in properties on a Unity object are the Transform at the top of the right inspector panel here:

serveimage

All the ones underneath are components aka scripts

blairmacintyre commented 5 years ago

Same in your pic: Animator, etc., are all components, which are the same (essentially) as scripts.