Deadcows / MyBox

MyBox is a set of attributes, tools and extensions for Unity
http://deadcow.ru
MIT License
1.91k stars 241 forks source link

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

Open Alex907795990 opened 1 year ago

Alex907795990 commented 1 year ago

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<>

gustavfx commented 1 year ago

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

jcs090218 commented 1 year ago

What version of Unity are you guys using? 🤔

gustavfx commented 1 year ago

Sorry, I should have added that. 2022.3.6f1