예제 #1
0
 private void InjectInventoryChangeEventPublisher([GameObjectScope] Inventory inventory,
                                                  [EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.inventory = inventory;
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }
예제 #2
0
 private void InjectInventoryChange([EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }
예제 #3
0
 private void InjectEventSensor([EventChannelScope] PlayerMoveEventChannel playerMoveEventChannel,
                                [EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.playerMoveEventChannel       = playerMoveEventChannel;
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }