diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index c7e4ec43..212eb3fa 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -521,12 +521,12 @@ namespace GameLogic var eGo = GameModule.Resource.LoadGameObject(giftConfig.EffectName); eGo.transform.SetParent(item.Value.GetRect().transform); //eGo.transform.position = actor.GetRect().transform.position; - eGo.transform.localPosition = new Vector3(500, 0, 0); + eGo.transform.localPosition = new Vector3(1500, 0, 0); eGo.transform.localScale = Vector3.one * 20; m_Buff1.m_EffectGo = eGo; // 移动特效 - eGo.transform.DOLocalMoveX(-2000, 12f).OnComplete(async () => + eGo.transform.DOLocalMoveX(-2000, 16f).OnComplete(async () => { GameObject.Destroy(eGo); }); diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIVipItem_Old.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIVipItem_Old.cs index b5724280..cabcd0ef 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIVipItem_Old.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIVipItem_Old.cs @@ -93,12 +93,11 @@ namespace GameLogic m_VideoPlayer.Play(); - HideVideo(); + //HideVideo(); } private async void HideVideo() { - await UniTask.Delay(2000); m_VideoPlayer.targetTexture.DiscardContents(); GameModule.UI.CloseUI(); GameModule.UI.ShowUI(UserDatas); @@ -106,9 +105,7 @@ namespace GameLogic private void HiddenVideoPlay(VideoPlayer player) { - // m_VideoPlayer.targetTexture.DiscardContents(); - // GameModule.UI.CloseUI(); - // GameModule.UI.ShowUI(UserDatas); + HideVideo(); }