Exemple #1
0
        public PopupBoxPerson getPersonBox()
        {
            GameObject     obj      = Instantiate(personBox) as GameObject;
            PopupBoxPerson specific = obj.GetComponent <PopupBoxPerson>();

            //specific.setTo(viewer, p, select);

            return(specific);
        }
Exemple #2
0
        public PopupScrollSet getScrollSet(List <int> indices)
        {
            PopupScrollSet specific = getInnerScrollSet();

            foreach (int q in indices)
            {
                PopupBoxPerson box = getPersonBox();
                box.gameObject.transform.SetParent(specific.gameObject.transform);
                specific.scrollables.Add(box);
            }

            return(specific);
        }