private void Start() { _selectionController = GetComponent <PlayerSelectionController>(); _actionController = GetComponent <ActionRelay>(); }
private void Start() { _selectionController = FindObjectOfType <PlayerSelectionController>(); _selectionController.updateSelectedUnits += UpdatePanel; _raycaster = GetComponent <GraphicRaycaster>(); }