Ejemplo n.º 1
0
    void Start()
    {
        inspectorController = GetComponentInChildren <InspectorController>();
        itemsController     = GetComponent <ItemsController>();

        //deckCards = DataController.Instance.GetCardDataBase().DeckCards;
        //deckController.deckCards = deckCards;
        //deckController.CreateDeck();

        shopCards = DataController.Instance.GetCardService().ShopCards;
        itemsController.shopCards = shopCards;
        itemsController.CreateShopItems();
    }