public void Start()
        {
            selectionListener = new SelectionListener(this);

            isSelected = true;
            Deselect();

            SelectionManager.AddSelectable(this);
        }
Exemple #2
0
        private void Start()
        {
            selectionListener = new SelectionListener(this.gameObject);

            isSelected = false;

            selectionIndicator.SetActive(false);

            selectionManager.AddSelectable(this);
        }