I manage to make it compile, but not to work. So I am not sure where it fails, because the code seems to be up and running. Google didn’t told me anything useful.
The only diference with the example, is that the 2 non-editor scripts are in a folder called “range”. I’m new to this “Property Drawer” thing, and if Im not able to see the example to really see what can offer, I doubt that I will use it on my own code. The documentation examples look unfinished in that part.
You did separate the code into 3 scripts right? Just checking. Is there any other information you can include?
// Assets/Scripts/Range/RangeAttribute.cs // Assets/Scripts/Editor/RangeDrawerEditor.cs // Assets/Scripts/Range/CustomBehaviour.cs The only diference with the example, is that the 2 non-editor scripts are in a folder called "range"
It’s the call to the base method that writes the “No GUI implemented” message - presumably to indicate when you haven’t overridden it and it just calls the default implementation.
If you comment out or remove the base.OnGui call the problem is resolved
You did separate the code into 3 scripts right? Just checking. Is there any other information you can include?
– meat5000// Assets/Scripts/Range/RangeAttribute.cs // Assets/Scripts/Editor/RangeDrawerEditor.cs // Assets/Scripts/Range/CustomBehaviour.cs The only diference with the example, is that the 2 non-editor scripts are in a folder called "range"
– Norax