public UnitCustomModelParams SetType(UnitCustomModelType type) { _type = type; if (_type == UnitCustomModelType.Face) { Face = new FaceModel(); } return(this); }
public UnitCustomModelParams(UnitCustomModelType type = UnitCustomModelType.None) { SetType(type); }