public void Imprison(Unit unit) { if (!unit.Owner.IsActivePlayer) { if (!unit.IsHero) { SelectedUnit.CaptureCard(imprisonedUnit: unit); RefreshEffectManager(); GameManager.instance.uiManager.RefreshUI(); } } }