P L O P
This commit is contained in:
@@ -30,6 +30,7 @@ namespace UI.CardSystem.StateMachine.States
|
||||
|
||||
public override void OnEnterState()
|
||||
{
|
||||
|
||||
// Ensure card front is visible and facing camera
|
||||
if (_context.CardDisplay != null)
|
||||
{
|
||||
@@ -43,6 +44,8 @@ namespace UI.CardSystem.StateMachine.States
|
||||
// Animated placement - play tween to slot
|
||||
Logging.Debug($"[CardPlacedInSlotState] Animating card '{_context.CardData?.Name}' to slot");
|
||||
AnimateToSlot(_targetSlotForAnimation);
|
||||
// Play card drop in album sound
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("card_albumdrop", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -54,6 +57,7 @@ namespace UI.CardSystem.StateMachine.States
|
||||
card.SetDraggingEnabled(false);
|
||||
}
|
||||
Logging.Debug($"[CardPlacedInSlotState] Card '{_context.CardData?.Name}' directly placed in slot");
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("card_albumdrop_deep", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user