Meta SDK2 Beta  2.7.0
Meta.Buttons.MetaButtonEventBroadcaster Class Reference

Retransmit the source button events More...

Inheritance diagram for Meta.Buttons.MetaButtonEventBroadcaster:
Meta.Buttons.BaseMetaButtonEventBroadcaster Meta.Buttons.IMetaButtonEventProvider Meta.MetaBehaviour Meta.BaseMetaBehaviour< IMetaContext >

Public Member Functions

void Subscribe (Action< MetaButton > action)
 Subscribe to the button events More...
 
void Unsubscribe (Action< MetaButton > action)
 Unsubscribe to the button events More...
 

Protected Member Functions

override void ProcessButtonEvents (MetaButton button)
 Process the button events More...
 

Additional Inherited Members

- Properties inherited from Meta.BaseMetaBehaviour< IMetaContext >
metaContext [get]
 Contains references to modules used to provide Meta functionality in the scene. More...
 

Detailed Description

Retransmit the source button events

Member Function Documentation

◆ ProcessButtonEvents()

override void Meta.Buttons.MetaButtonEventBroadcaster.ProcessButtonEvents ( MetaButton  button)
inlineprotectedvirtual

Process the button events

Parameters
buttonButton event

Implements Meta.Buttons.BaseMetaButtonEventBroadcaster.

◆ Subscribe()

void Meta.Buttons.MetaButtonEventBroadcaster.Subscribe ( Action< MetaButton action)
inline

Subscribe to the button events

Parameters
actionAction to register

Implements Meta.Buttons.IMetaButtonEventProvider.

◆ Unsubscribe()

void Meta.Buttons.MetaButtonEventBroadcaster.Unsubscribe ( Action< MetaButton action)
inline

Unsubscribe to the button events

Parameters
actionAction to unregister

Implements Meta.Buttons.IMetaButtonEventProvider.