예제 #1
0
 public static void Subscribe(EventSubscription subscription)
 {
     TransientEvents.Subscribe(subscription);
     EventSubs.Add(subscription);
 }
예제 #2
0
 public static void SubscribeForever(EventSubscription subscription)
 {
     PersistentEvents.Subscribe(subscription);
 }
예제 #3
0
 public static void Subscribe <T>(Action <T> onEvent, object owner)
 {
     Subscribe(EventSubscription.Create <T>(onEvent, owner));
 }
예제 #4
0
 public static void NetSubscribe(EventSubscription subscription)
 {
     NetEvents.Subscribe(subscription);
     EventSubs.Add(subscription);
 }