I am spawning a switch but the input and outputs are not spawning on the switch....
ElectricSwitch switch1;
switch1 = GameManager.server.CreateEntity("assets/prefabs/io/electric/switches/simpleswitch/simpleswitch.prefab") as ElectricSwitch;
switch1.SetParent(box1, box1.GetSlotAnchorName(BaseEntity.Slot.Lock));
switch1.transform.localPosition = new Vector3(-1f, -1f, 0f);
switch1.transform.localRotation = Quaternion.Euler(new Vector3(0, 270, 0));
switch1.Spawn();