Page 1 of 1

Header

Posted: Sat Mar 03, 2018 7:57 pm
by Lars Nonne
Hey,

is there a way to disable the headers for shader functions?
They sometimes create strange behavior when using a custom editor.
I'm not sure why, but, well, it's unity.

If not yet possible, consider this a feature request :)

Thanks,
Lars

Re: Header

Posted: Sat Mar 03, 2018 8:49 pm
by Lars Nonne
Here's a snapshot to show how it sometimes behaves.
snap.png
snap.png (3.56 KiB) Viewed 5973 times
The "Sparkle" section is how it should look like,
the "Refraction" section. Well, you can see what it does.

Re: Header

Posted: Mon Mar 05, 2018 3:38 pm
by Amplify_Borba
Hey there Lars, thank you for taking the time to provide this feedback!

At this moment it's not possible to disable the headers created by Functions.

We've recently added new custom attributes that allow you to create headers and spaces to your properties, and at some point we want to create grouping as well, so we'll definitely look into a solution for this in order to avoid situations were both features conflict.
CustomAttributes.png
CustomAttributes.png (174.98 KiB) Viewed 5960 times
Please let me know if you have any follow-up questions, thanks!

Re: Header

Posted: Fri Dec 21, 2018 12:04 am
by AndrewMyriad
Are there any other examples you could provide of custom properties that could be used in the material inspector, in addition to Space() and Header()?

Re: Header

Posted: Thu Dec 27, 2018 2:45 pm
by Ricardo Teixeira
AndrewMyriad wrote:Are there any other examples you could provide of custom properties that could be used in the material inspector, in addition to Space() and Header()?
Not at the moment, are you looking for anything specific?

Thanks!

Re: Header

Posted: Thu Mar 07, 2019 9:30 am
by RobRamsay
This is ace, not sure how I missed it,

Can we possibly get a dividing line and also tool tips?

Pretty please :)

Re: Header

Posted: Tue Mar 12, 2019 10:56 am
by Amplify_Borba
Unfortunately I don't think that it would be possible for us to add those, in order to further customize the aspect of the inspector you'll need to set up your own custom inspector,