MyBox icon indicating copy to clipboard operation
MyBox copied to clipboard

ConditionalField on UnityEvent<> makes the inspector layout doesn't work properly

Open Alex907795990 opened this issue 3 years ago • 3 comments
trafficstars

QQ截图20221029112305 QQ截图20221029112251 QQ截图20221029112326

Use ConditionalField on UnityEvent<> will somehow mess up the layout , making it fully expanded. (the last image show the proper layout without ConditionalField).

This won't happen on UnityEvent , only on the generic type UnityEvent<>

Alex907795990 avatar Oct 29 '22 03:10 Alex907795990

+1. It used to work, so I can only assume Unity changed something.

gustavfx avatar Sep 18 '23 08:09 gustavfx

What version of Unity are you guys using? 🤔

jcs090218 avatar Sep 18 '23 08:09 jcs090218

Sorry, I should have added that. 2022.3.6f1

gustavfx avatar Sep 18 '23 08:09 gustavfx