dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.57k stars 465 forks source link

Using NaughtyAttributes hides inspector tools for custom audio filters (OnAudioFilterRead) #364

Open iatenothingbutriceforthreedays opened 1 year ago

iatenothingbutriceforthreedays commented 1 year ago

This is a great package, very useful and well-designed.

Minor issue: When a MonoBehaviour implements OnAudioFilterRead, Unity displays a useful visualizer in the inspector for the component. But it doesn't show up when also using NaughtyAttributes on the component.

iatenothingbutriceforthreedays commented 1 year ago

Looked into this a bit (https://github.com/Unity-Technologies/UnityCsReference/blob/076ffb2c16d2aec23c2df1cb6cec03562186ec33/Editor/Mono/Inspector/Editor.cs#L885) Looks like a limitation in Unity and not possible to fix afaict :/