public void RegisterTrough(Trough trough, GameObject go) { var troughApi = new TroughApi(trough, this); _apis.Add(troughApi); _initializables.Add(troughApi); _switchDevices[trough.Name] = troughApi; _coilDevices[trough.Name] = troughApi; _wireDevices[trough.Name] = troughApi; }
public TroughEjectCoil(TroughApi troughApi) { _troughApi = troughApi; }
public void RegisterTrough(Trough trough, Entity entity, GameObject go) { var troughApi = new TroughApi(trough, entity, this); _initializables.Add(troughApi); }