Skip to content

Extending Hero Editor

Nate River edited this page Jul 31, 2018 · 2 revisions

If you need a new feature, the simplest way is to request it from us. Just create an issue on GitHub. If you still want to modify the editor by yourself, please keep in mind:

  • some editor code is hidden in DLL
  • in case of code editor modification you can miss new updates and support

To extend editor functionality, do the following steps. Let's assume we need to add new equipment type Ring.

  • create a new SpriteRenderer and place it to the right place inside Dummy
  • add a new property to Character class
  • override Character.Initialize, at first set ring SpriteRenderer and then call base.Initialize
Clone this wiki locally