NaughtyAttributes
NaughtyAttributes copied to clipboard
[Request] *Interface* attribute
Hi there, dev!! Thanks for this nifty tool. Loving it so much. ❤❤❤ Mabuhay to you.
Just wanted to ping ya a request if it's chill with ya. An attribute to accept Interface/s in the inspector, if it's possible. 😌 😂
Will see what I can do :)
Thanks! More power to youuuu! :)
Hi,
@dbrizov Any news about this new attribute? It would be very very usefull! Thank you very much for your work. It's an awesome help!
I know I'm late, but Unity now has an attribute SerializeReference that can serialize interfaces, is this what you need?
However, the SerializeReference attrubute won't work if field is inherited from UnityEngine.Object.
I know I'm late, but Unity now has an attribute
SerializeReferencethat can serialize interfaces, is this what you need? However, theSerializeReferenceattrubute won't work if field is inherited fromUnityEngine.Object.
I didn't know about that. Will see what I can do. Thanks :)
There is also a request in the Unity Forum and an interesting project targeting the issue
https://forum.unity.com/threads/serializereference-genericserializedreferenceinspectorui.813366/