Click or drag to resize

Subscriber Class

Helper component used to automatically hookup delegates to Publishers
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          EventsPlusSubscriber

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6794.2298
Syntax
C#
public class Subscriber : MonoBehaviour

The Subscriber type exposes the following members.

Constructors
  NameDescription
Public methodSubscriber
Initializes a new instance of the Subscriber class
Top
Properties
  NameDescription
Public propertyrequests
Gets the _requests array
Top
Methods
  NameDescription
Protected methodAwake
Initializes _requests and registers with any potential Publisher instances
Protected methodOnDestroy
Unregisters from Publisher instances and clears memory usage
Protected methodonPublisherLoaded
Callback for when a Publisher is loaded; this will back a confirmation so the Subscriber can be processed
Top
Events
  NameDescription
Public eventStatic memberOnDestroyed
Global event that gets fired when a Subscriber is destroyed
Public eventStatic memberOnLoaded
Global event that gets fired when a Subscriber is instantiated
Top
Fields
  NameDescription
Protected field_requests
List of raw RawRequest objects used for binding to Publishers
Top
See Also