Home Game Development unity – How do you make a component draw outdoors of its guardian factor’s field?

unity – How do you make a component draw outdoors of its guardian factor’s field?

0
unity – How do you make a component draw outdoors of its guardian factor’s field?

[ad_1]

If we take a look at Shader Graph within the UIToolkit debugger, we see one thing unusual. Here’s an enter port with its field highlighted:
enter image description here

And here is the PortInputView factor (the X: 0 editor to the left of it) with its field highlighted:
enter image description here

This field is nearly fully outdoors of its guardian field, however every part nonetheless attracts.

I’m attempting to duplicate this impact in my very own mission. But when I attempt to present the editor factor, nothing outdoors of the guardian field will get drawn:
enter image description here

There must be some model property someplace that I’m lacking, however I do not know what it’s; even copying the Shader Graph stylesheet information wholesale into my mission (tailored appropriately to the totally different class names I’m utilizing) doesn’t trigger this to attract accurately. Does anybody know what it’s that permits the editor factor to attract outdoors of its guardian’s field?

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here