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

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