fix:泡泡宝石任务改死
This commit is contained in:
@@ -63,7 +63,7 @@ public class BubblesGem : MonoBehaviour
|
||||
preTx.SetActive(true);
|
||||
MasterAudio.StopAllSoundsOfTransform(transform);
|
||||
GameManager.Ins.PlaySound3DRPC("1.47", transform);
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
pre.SetActive(false);
|
||||
switch (gemType)
|
||||
@@ -92,17 +92,13 @@ public class BubblesGem : MonoBehaviour
|
||||
if (gemType == SeekGemType.Real)
|
||||
{
|
||||
// 开始飞向手
|
||||
LaunchTowards(GameManager.Ins.playerRightHand.transform);
|
||||
|
||||
// ✅ 修复:等待飞行结束
|
||||
yield return new WaitUntil(() => !_isMove);
|
||||
|
||||
//LaunchTowards(GameManager.Ins.playerRightHand.transform);
|
||||
transform.position = GameManager.Ins.playerRightHand.transform.position;
|
||||
_isMove = false;
|
||||
_isFly = false;
|
||||
_isGet = true;
|
||||
GameManager.Ins.PlaySound2DRPC("1.9");
|
||||
CompleteTask();
|
||||
// 等待展示时间
|
||||
// yield return new WaitForSeconds(4f);
|
||||
// GameManager.Ins.taskManager.CompleteTask();
|
||||
}
|
||||
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
Reference in New Issue
Block a user