Пример #1
0
	public void setUnit(UnitScript u){
		unit = u;
		unitColor.color = unit.getUnitColor();
		unitHeadSprite.sprite = unit.getUnitHeadSprite();
		//TODO Set enemy using unit params.
	}