Пример #1
0
    public void FillOrShow()
    {
        dataCarouselGO = this.GetComponent <DataCarouselGO>();


        if (!this.filled)
        {
            this.numItems = FillItems();
            this.gameObject.SetActive(true);
        }
        else
        {
            this.gameObject.SetActive(true);
        }

        this.dataCarouselGO.UpdateData(this.currentItem);
    }
Пример #2
0
 private void Start()
 {
     //FillItems();
     dataCarouselGO = this.GetComponent <DataCarouselGO>();
     //dataCarouselGO.UpdateData(0);
 }