Learn / Documentation / Script Reference / UIDrawerListener
Manual

UIDrawerListener

class in Doozy.Engine.UI / Inherits from MonoBehaviour

Description

The UIDrawerListener implements a microphone-like device, that interprets UIDrawer UIDrawerBehaviorType. When triggered it executes a set of callbacks and sends any defined game events.

Public Variables

  • public bool DebugMode – Enables relevant debug messages to be printed to the console

  • public string DrawerName – The Drawer Name filter that will invoke this listener’s events

  • public bool CustomDrawerName – Internal variable used by the custom inspector to allow you to type a custom drawer name instead of selecting it from the database

  • public UIDrawerEvent EventUnityEvent invoked when this listener has been triggered

  • public bool ListenForAllUIDrawers – If TRUE, this listener’s events will get invoked every time an UIDrawer is activated

  • public UIDrawerBehaviorType TriggerAction – The action that an UIDrawer performs in order for this listener’s events to get invoked