playMaker

Author Topic: Custom Drawer in Variables Tab  (Read 1385 times)

3rdGood

  • Playmaker Newbie
  • *
  • Posts: 2
Custom Drawer in Variables Tab
« on: September 25, 2023, 11:26:49 AM »
I'm using ObjectPropetyDrawer to customize the way I'm referencing objects for some specific types. Long-story-short, I created a drawer that displays a standard object picker where the user can select a relevant asset but the actual serialized data is a string representing the GUID. This, combined with some build-steps, is allowing me to create weak references to assets (kinda of like how AddressableReference works but without Addressables involved) that I manually resolve later so I can load and release the assets when I want to instead of whenever the FSM is loaded.

I'd like to also make such an object picker available in some capacity in the "Variables" tab of any given FSM but I can't find a way to customize anything about that. Is there a way for me to do so or is the "Variables" tab not customizable? I cannot find anything in the API Reference for what I'd like to do.