- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
public bool IsTransfarable
{
get
{
switch (unitType)
{
case UnitTypes.SIEGE_TANK:
case UnitTypes.WIDOW_MINE:
case UnitTypes.SIEGE_TANK_SIEGED:
case UnitTypes.WIDOW_MINE_BURROWED:
return true;
}
return false;
}
}
...
error CS0825: The contextual keyword 'var' may only appear within a local variable declaration or in script code
реально надо два раза одно и тоже писать?
Это ж риплей