Example #1
0
 void Start()
 {
     CommandHub.Subscribe <Compose>(
         x => {
         Debug.Log("EditDeck Command Received");
     });
 }
Example #2
0
 void Start()
 {
     CommandHub.Subscribe <GetCard>(
         x => {
         Debug.Log("GetCard Command Received");
         cardList.Add(x.card);
     });
 }
Example #3
0
 void Start()
 {
     CommandHub.Subscribe <Compose>(
         x => {
         Debug.Log("Compose Command Received");
         player.ComposeCard(x.left, x.right);
     });
 }