Class CallbackEventHandler
  
  
  
  
    Inheritance
    
    CallbackEventHandler
      
   
  
  
  
  Assembly: UnityEngine.dll
  Syntax
  
    public abstract class CallbackEventHandler : IEventHandler
   
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ExecuteDefaultAction(EventBase)
  
  
  Declaration
  
    protected virtual void ExecuteDefaultAction(EventBase evt)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ExecuteDefaultActionAtTarget(EventBase)
  
  
  Declaration
  
    protected virtual void ExecuteDefaultActionAtTarget(EventBase evt)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HandleEvent(EventBase)
  
  
  Declaration
  
    public virtual void HandleEvent(EventBase evt)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HasBubbleHandlers()
  
  
  Declaration
  
    [Obsolete("Use HasBubbleUpHandlers instead of HasBubbleHandlers.")]
public bool HasBubbleHandlers()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HasBubbleUpHandlers()
  
  
  Declaration
  
    public bool HasBubbleUpHandlers()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HasCaptureHandlers()
  
  
  Declaration
  
    [Obsolete("Use HasTrickleDownHandlers instead of HasCaptureHandlers.")]
public bool HasCaptureHandlers()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HasTrickleDownHandlers()
  
  
  Declaration
  
    public bool HasTrickleDownHandlers()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RegisterCallback<TEventType>(EventCallback<TEventType>, Capture)
  
  
  Declaration
  
    [Obsolete("Use TrickleDown instead of Capture.")]
public void RegisterCallback<TEventType>(EventCallback<TEventType> callback, Capture useCapture)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
  
  
  Declaration
  
    public void RegisterCallback<TEventType>(EventCallback<TEventType> callback, TrickleDown useTrickleDown = TrickleDown.NoTrickleDown)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, Capture)
  
  
  Declaration
  
    [Obsolete("Use TrickleDown instead of Capture.")]
public void RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType> callback, TUserArgsType userArgs, Capture useCapture)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | EventCallback<TEventType, TUserArgsType> | callback |  | 
      
        | TUserArgsType | userArgs |  | 
      
        | Capture | useCapture |  | 
    
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
      
        | TUserArgsType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
  
  
  Declaration
  
    public void RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType> callback, TUserArgsType userArgs, TrickleDown useTrickleDown = TrickleDown.NoTrickleDown)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | EventCallback<TEventType, TUserArgsType> | callback |  | 
      
        | TUserArgsType | userArgs |  | 
      
        | TrickleDown | useTrickleDown |  | 
    
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
      
        | TUserArgsType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SendEvent(EventBase)
  
  
  Declaration
  
    public abstract void SendEvent(EventBase e)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UnregisterCallback<TEventType>(EventCallback<TEventType>, Capture)
  
  
  Declaration
  
    [Obsolete("Use TrickleDown instead of Capture.")]
public void UnregisterCallback<TEventType>(EventCallback<TEventType> callback, Capture useCapture)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
  
  
  Declaration
  
    public void UnregisterCallback<TEventType>(EventCallback<TEventType> callback, TrickleDown useTrickleDown = TrickleDown.NoTrickleDown)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, Capture)
  
  
  Declaration
  
    [Obsolete("Use TrickleDown instead of Capture.")]
public void UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType> callback, Capture useCapture)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
      
        | TUserArgsType |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
  
  
  Declaration
  
    public void UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType> callback, TrickleDown useTrickleDown = TrickleDown.NoTrickleDown)
    where TEventType : EventBase<TEventType>, new()
   
  Parameters
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TEventType |  | 
      
        | TUserArgsType |  | 
    
  
  Implements
  
  Extension Methods