public VehicleComponentSeed(VehicleComponentSeed other) { this.id = other.id; this.localPosition = other.localPosition; this.localRotation = other.localRotation; this.type = other.type; }
public VehicleLeafSeed(VehicleComponentSeed parent) : base(parent) { }
private VehicleComponent AddChild(string jsonComponent) { var seed = VehicleComponentSeed.FromJson(jsonComponent); return(AddChild(seed.type, seed.id)); }