Exemplo n.º 1
0
 public void ChangeUnitPosition(GameObject _unit, int _pos)
 {
     currentSelectedUnit.SendMessage("SetPosition", _pos);
     bfm.ChangeUnitPosition(currentSelectedUnit, _pos);
     unitPool[currentSelectedUnit] = _pos;
 }