Table of Contents

Class MonoEventCoordinator

Namespace
Ceres.Events
Assembly
Ceres.dll

MonoBehaviour based EventCoordinator that can be enabled and disabled, and can be tracked by the debugger

public abstract class MonoEventCoordinator : MonoBehaviour, IEventCoordinator
Inheritance
MonoEventCoordinator
Implements
Derived

Constructors

MonoEventCoordinator()

protected MonoEventCoordinator()

Properties

DispatchStatus

public MonoDispatchType DispatchStatus { get; }

Property Value

MonoDispatchType

EventDispatcher

Get coordinator's dispatcher

public virtual EventDispatcher EventDispatcher { get; protected set; }

Property Value

EventDispatcher

Methods

Awake()

protected virtual void Awake()

Dispatch(EventBase, DispatchMode, MonoDispatchType)

public void Dispatch(EventBase evt, DispatchMode dispatchMode, MonoDispatchType monoDispatchType)

Parameters

evt EventBase
dispatchMode DispatchMode
monoDispatchType MonoDispatchType

FixedUpdate()

protected virtual void FixedUpdate()

GetCallbackEventHandler()

Get coordinator's default event handler

public abstract CallbackEventHandler GetCallbackEventHandler()

Returns

CallbackEventHandler

InterceptEvent(EventBase)

public bool InterceptEvent(EventBase ev)

Parameters

ev EventBase

Returns

bool

LateUpdate()

protected virtual void LateUpdate()

OnDestroy()

protected virtual void OnDestroy()

PostProcessEvent(EventBase)

public void PostProcessEvent(EventBase ev)

Parameters

ev EventBase

Refresh()

public void Refresh()

Update()

protected virtual void Update()