playMaker

Author Topic: Editor for Serialized Type like CustomPropertyDrawer  (Read 1312 times)

3rdGood

  • Playmaker Newbie
  • *
  • Posts: 2
Editor for Serialized Type like CustomPropertyDrawer
« on: June 07, 2024, 04:49:12 PM »
In Unity's inspector, you can either write a custom editor for an entire MonoBehaviour with CustomEditor or you can write one for a serializable type with CustomPropertyDrawer. I see that Playmaker has an equivalent of the former (CustomActionEditor) but was wondering if there was an equivalent of the later?

For context, let's say I have a serializable class that, under the hood, is just 3 integers but they need to be managed and visualized in a specific way that requires a custom editor. I want every FsmStateAction that contains one or more of these to have the same editor for them without having to write a new CustomActionEditor for each individual action.