Esempio n. 1
0
        void Awake()
        {
            input = GetComponent <InputField>();
            var          popup    = GetComponentInParent <Popup>();
            SaveListView saveList = popup.gameObject.GetComponentInChildren <SaveListView>();

            saveList.ChangeSelectedItemHandler += OnChangeSaveName;
        }
Esempio n. 2
0
 void Awake()
 {
     popup    = GetComponentInParent <Popup>();
     saveList = popup.gameObject.GetComponentInChildren <SaveListView>();
 }