Hi,
I am currently working on a custom blueprint node, and I would like to have an input pin that can only have its default value edited.
I found something that meets my needs : UEdGraphPin::bNotConnectable
Everything works fine with this member set to true, except that when I right click on the pin, I still get the “Promote to variable” option, which can be confusing.
The command binded to this option is validated through UEdGraphSchema_K2::CanPromotePinToVariable
, and nothing checks the pin’s bNotConnectable
's value, so I was wondering if it was intended or not.
If UEdGraphPin::bNotConnectable
was not designed for this kind of behavior, is there another option ?
Thanks