EagleGamer15
Member
Hello,
So, I tried creating a new component by inheriting from Melee weapon as I need to override a couple of the methods.
When I add the component to my weapon (because my custom script doesn't show up in the item builder, I'm assuming its in a wrong folder or something), the inspector doesn't draw the Animator Audio section correctly.
Instead of this:
My custom component is drawing this:
I haven't done anything to the inspector code, because I don't need to change or touch any of the fields, just how a couple methods work, so I don't understand why it is doing this.
So, I tried creating a new component by inheriting from Melee weapon as I need to override a couple of the methods.
When I add the component to my weapon (because my custom script doesn't show up in the item builder, I'm assuming its in a wrong folder or something), the inspector doesn't draw the Animator Audio section correctly.
Instead of this:
My custom component is drawing this:
I haven't done anything to the inspector code, because I don't need to change or touch any of the fields, just how a couple methods work, so I don't understand why it is doing this.