🧵#Conditional Inline properties
Just so I get this right from your mail:
- you found the docs to be a bit unclear in regards to conditional properties.
- you're right that
MyProperty && [_MYKEYWORD]is the correct syntax
Could you describe what bug you were seeing with that? I'm not sure I fully get that from the email <@972988395779411978> . Thanks!
It´s not a bug. At manual you write that it´s not possible use inline with conditional, but its possible...Because of that i notify you about.
Using the wrong syntax, we are able to use this 2 properties together, otherwise, using the right syntax, realy we can use this 2 properties together. Thas is the tip i was talking.
I see - might well be that I partially implemented it actually. Could you give a full example of what works/doesn't? Still a bit confused (and can't try right now)
I write wrong...using right syntax, we can´t use 2 properties together.
if we use MyProperty [_MyKeyword] && syntax, the conditional and inline dosent work together
but using MyProperty && [_MyKeyword] the conditional and inline properties works together
So, we need to use inline first, than the conditional to work fine
And very important thing, we need to put the condition at the next property too
Could you post an example of the latter please
i will send some screen shots
Conditional is supposed to always come last, so the syntax is expected - I'll see that I can clarify this in the docs, thanks!
You can also DM me the shader if you can
ok
Thank you! That makes it clear, I'll look at it
OK, so there was a blackboard bug with the order that I fixed now
It will still be necessary to have the same condition on the first and second line of inline properties though