Esempio n. 1
0
 public void Start()
 {
     if (existingTags.Count == 0)
     {
         BinaryCardLoader cardLoader       = new BinaryCardLoader();
         LoadCardCallback loadCardCallback = LoadExistingTag;
         cardLoader.LoadCardsAsync(loadCardCallback);
     }
 }
Esempio n. 2
0
 public void LoadCards()
 {
     ClearAllCards();
     if (loadCardCallback == null)
     {
         loadCardCallback = LoadCard;
     }
     Debug.Log($"Loading cards with {loadCardCallback}");
     cardLoader.LoadCardsAsync(loadCardCallback);
 }