private void OnToggle(int slotID, bool state) { if (thisSeamoth.GetSlotBinding(slotID) == SeamothShieldPrefab.TechTypeID) { if (state) { StartShield(); } else { StopShield(); } } }
private void OnToggle(int slotID, bool state) { if (seamoth.GetSlotBinding(slotID) == LaserCannon.TechTypeID) { toggle = state; if (state) { OnEnable(); } else { OnDisable(); } } }
private void OnToggle(int slotID, bool state) { if (thisSeamoth.GetSlotBinding(slotID) == ScannerModulePrefab.TechTypeID) { isToggle = state; if (isToggle) { OnEnable(); } else { OnDisable(); } } }