Wednesday, October 19, 2022
HomeGame Developmentunity - How do you make a component draw exterior of its...

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


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

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

This field is sort of completely exterior of its guardian field, however every little thing nonetheless attracts.

I am making an attempt to duplicate this impact in my very own venture. However when I attempt to present the editor ingredient, nothing exterior of the guardian field will get drawn:
enter image description here

There must be some type property someplace that I am lacking, however I do not know what it’s; even copying the Shader Graph stylesheet information wholesale into my venture (tailored appropriately to the completely different class names I am utilizing) doesn’t trigger this to attract appropriately. Does anybody know what it’s that enables the editor ingredient to attract exterior of its guardian’s field?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments