Пример #1
0
        void Start()
        {
            list  = GetComponentInParent <PersoList>();
            perso = perso.GetComponent <PersoController>();

            persoName.text = perso.perso.perso.namePerso;
        }
Пример #2
0
 void Start()
 {
     list            = GetComponentInParent <PersoList>();
     familyText.text = familyType.Name;
 }