コード例 #1
0
 public GenericSubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe <TestEventMessage>((sender, e) => ReceiveMessage(e));
 }
コード例 #2
0
 public SubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe <TestEventMessage>(ReceiveMessage);
 }
コード例 #3
0
 public SubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe(typeof(TestEventMessage), (sender, e) => ReceiveMessage(e));
 }