You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this project - but I wish it would work for simple types that don't descend from UnityEngine.Object - i.e., just plain old classes/structs with no 'parent'.
As such I wrote a quick property drawer by hacking up some of your existing code - not sure if this is the best way to implement it, but it works:
So does this mean I can use it in a method of a serialized non-unity class? If so how? I have list of C# objects inside a ScriptableObject. C# objects have a method. When I add the [Button] attribute to that method it doesn't work. Here is what I'm talking about:
I love this project - but I wish it would work for simple types that don't descend from UnityEngine.Object - i.e., just plain old classes/structs with no 'parent'.
As such I wrote a quick property drawer by hacking up some of your existing code - not sure if this is the best way to implement it, but it works:
https://gist.github.com/eddieparker/7bb1fd3b253ce039994b5d677e620978
The text was updated successfully, but these errors were encountered: