Exemple #1
0
 void OnDestroy()
 {
     GetListenerTypes().Each(x => EventAggregator.UnRegister(this, x));
 }
Exemple #2
0
 void Start()
 {
     GetListenerTypes().Each(x => EventAggregator.Register(this, x));
 }