Example #1
0
 private void CollectCard()
 {
     cardIcon.SetActive(true);
     interactIcon.SetActive(false);
     item = false;
     if (blue)
     {
         pm.BlueCardCollect();
         GameAnalytics.NewDesignEvent("BlueCard");
     }
     if (green)
     {
         pm.GreenCardCollect();
         GameAnalytics.NewDesignEvent("GreenCard");
     }
     if (purple)
     {
         pm.PurpleCardCollect();
         GameAnalytics.NewDesignEvent("PurpleCard");
     }
     //GameAnalytics.NewDesignEvent(name);
     Destroy(keyCard);
 }