Click or drag to resize

DrawerSubscriber Class

Editor drawer for displaying Subscribers in the inspector
Inheritance Hierarchy
SystemObject
  GUIDrawer
    PropertyDrawer
      EventsPlusDrawerSubscriber

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public class DrawerSubscriber : PropertyDrawer

The DrawerSubscriber type exposes the following members.

Constructors
  NameDescription
Public methodDrawerSubscriber
Initializes a new instance of the DrawerSubscriber class
Top
Methods
  NameDescription
Protected methodaddRequest
Creates a fresh, new element upon add input
Protected methodcacheList
Caches drop-down data for the entire requestsList for optimization
Protected methoddrawElement
Draws the individual RawRequest element for the requestsList
Protected methoddrawHeader
Draws the header for the requestsList
Protected methoddrawTags
Draws the tags drop-down for the RawRequest element
Protected methodgetElementHeight
Calculates the inspector height for each RawRequest element in the requestsList
Public methodGetPropertyHeight
Calculates the drawer height in the inspector
(Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent).)
Public methodOnGUI
Draws the requestsList
(Overrides PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent).)
Top
Fields
  NameDescription
Protected fieldcache
Cached data that matches each element of the requestsList, used for extreme optimization purposes
Protected fieldrequestsList
Reorderable list of RawRequests
Top
See Also