- Home /
CustomPreview example?
The docs for CustomPreviewAttribute don't give any indication on exactly how it should be used and I can't find any good examples. Search isn't too helpful either. Can anyone provide a good sample of how to use this? I can put CustomPreviewAttribute on a class, but what base class houdl it extend? What methods do I need to override? How should I go about doing this?
Thanks in advance!
Answer by frarees · Nov 04, 2014 at 11:09 AM
Here you have an example.
an actual real example os something that works and displays actual information related to the target would be more helpful. This official unity "example" lacks any real world application. The API behaves as unexpectedly as always - the target object isn't updated when the selection changes inside ...
Your answer
![](https://koobas.hobune.stream/wayback/20220613170531im_/https://answers.unity.com/themes/thub/images/avi.jpg)