private void Activate() { if (_isActivated) { return; } _isActivated = true; _spriteRenderer.sprite = color == GameEntity.EntityColor.Black ? blackActivatedSprite : whiteActivatedSprite; idleParticles.Stop(); activateParticles.Play(); onActivate?.Invoke(); SaveSystem.AddSwitchActivated(switchID); }