Esempio n. 1
0
        public void AddSelectable(Selectable selectable)
        {
            var selectionListener = selectable.GetComponent <Selectable>().selectionListener;

            this.selectionListeners.Add(selectionListener);
        }
Esempio n. 2
0
 public SelectionListener(GameObject gameObject)
 {
     this.selectable = gameObject.GetComponent <Selectable>();
 }