public PathFinder() { cells = CellManager.GetInstance(); selectedUnit = UnitSelection.GetInstance(); units = UnitsList.GetInstance(); playerControler = PlayerControler.GetInstance(); }
private void Awake() { playerControler = PlayerControler.GetInstance(); unitSelection = UnitSelection.GetInstance(); cellManager = CellManager.GetInstance(); actionBT = new Button[3] { pathMoveBT, healBT, captureBT }; }
private void Start() { unitsList = UnitsList.GetInstance(); unitSelection = UnitSelection.GetInstance(); pathFinder = PathFinder.GetInstance(); }
private void Awake() { cellSelection = CellSelection.GetInstance(); unitsList = UnitsList.GetInstance(); unitSelection = UnitSelection.GetInstance(); }