void setType(EmptyCellType type) { this.type = type; sprite = Resources.Load(type.ToString(), typeof(Sprite)) as Sprite; }
void setType(EmptyCellType type) { this.type = type; sprite = Resources.Load(type.ToString(), typeof(Sprite)) as Sprite; }
public EmptyCell(EmptyCellType type) { setType(type); }
public EmptyCell(EmptyCellType type) { setType(type); }