void LoadCoilData(SavedCoilData savedCoilData, Coil coil) { if (coil) { coil.UpdateType((Coil.Type)savedCoilData.coilType); coil.UpdateDelay(savedCoilData.delay); } }
public void SetCoilType(int value) { coil.UpdateType((Coil.Type)value); delayConfiguration.SetActive(coil.type != Coil.Type.normal); }