@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using AibisDream.Kit;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -376,6 +377,8 @@ namespace AibisDream.MiniGame.Tarot
|
||||
_hoveredCard = card;
|
||||
KillHoverTween(card);
|
||||
|
||||
AudioManager.Instance?.PlaySfx("event:/Scriptal/cardPick");
|
||||
|
||||
if (!_fanPositions.TryGetValue(card, out var basePos)) return;
|
||||
|
||||
Vector3 pushDir = GetFanRadialOutDirection(basePos);
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections;
|
||||
using AibisDream;
|
||||
using AibisDream.FixSystem;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Kit;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -179,6 +180,7 @@ namespace AibisDream.MiniGame.Tarot
|
||||
_isCardSelected = true;
|
||||
_selectedIndex = card.Index;
|
||||
YarnVariableStorage.Instance?.SetValue("$tarotSelectedIndex", (float)card.Index);
|
||||
AudioManager.Instance?.PlaySfx("event:/Scriptal/cardDraw");
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user