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