Пример #1
0
 public VehicleComponentSeed(VehicleComponentSeed other)
 {
     this.id            = other.id;
     this.localPosition = other.localPosition;
     this.localRotation = other.localRotation;
     this.type          = other.type;
 }
Пример #2
0
 public VehicleLeafSeed(VehicleComponentSeed parent) : base(parent)
 {
 }
Пример #3
0
    private VehicleComponent AddChild(string jsonComponent)
    {
        var seed = VehicleComponentSeed.FromJson(jsonComponent);

        return(AddChild(seed.type, seed.id));
    }