- Home /
Using draggable actions in Editor
Hi, I know it is out of Unity editor logic but I have a need of drag drop actions-funcs to a list of classes so I can create complex sequence of AI behaviours just drag dropping those actions to the list or class in editor. My approach was to create dictionaries that actions added with enum names and I can choose enums. But the down-point is that I have to add those functions to a dictionary manually and I have lots of actions such as find target, look at target, walk to target, stop, fire, wait etc etc. I would prefer adding those actions to expandable generic list so it works automatically Is there any way that I can visually see functions like public variables in editor so I can drag drop them to a visible list of actions(action and func cannot be seen in editor as well so I should make them visible)?
Thanks