예제 #1
0
 private void Start()
 {
     _selectionController = GetComponent <PlayerSelectionController>();
     _actionController    = GetComponent <ActionRelay>();
 }
예제 #2
0
 private void Start()
 {
     _selectionController = FindObjectOfType <PlayerSelectionController>();
     _selectionController.updateSelectedUnits += UpdatePanel;
     _raycaster = GetComponent <GraphicRaycaster>();
 }