public BuildingAnimation(Building.Building_Type type, Transform parentTransform) { this.parentTransform = parentTransform; this.buildingType = type; pieces = BuildingAnimationPiece.GetPiecesForAnimation(type, parentTransform); }