In my case using examples from tutorial I just faced with some behaviour.
1) Using attribute "Unitprimaryport" doesn't affect its exptected behaviour.UnitExample.txt
2) Overriding GetHeaderAddonHeight(), GetHeaderAddonWidth() doesn't affect as shown in tutorial. Placing some gui element nothing appears too. I just copy-pasted code snippets from tutorial, but for clearity the code would attached. UnitWigetExample.txt The picture result shown in 1).
I have other questions that, I suppose, would be helpful for begginers.
1] When I create ValueInput ports dynamicly in some unit, the custom created one(by default as field, actually) with "UnitPortOrder" with some big value e.g.100, the last won't ordered properly.
In the picture "WGO" ValueInput port with order = 100, other ports created dynamicly. But how it shown, ordering doesn't work.
2] In tutorials said nothing about UnitGenerator<> class. We using UnitWidgets to customize our own visualising, in Unit we set unit logic. But when I should use UnitGenerator<> class?
Customer support service by UserEcho