You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -46,7 +46,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
||||
- _blurOffset: 0.016038021
|
||||
- _blurOffset: 0.022401923
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &268278646524644520
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Views
|
||||
|
||||
public override void OnOpenView (IC_ViewData parameters)
|
||||
{
|
||||
AudioManager.Instance.PlayBGM (BGM , 1 , 0.6f);
|
||||
AudioManager.Instance.PlayBGM (BGM , 1 , 3f);
|
||||
string key = "CompleteCount";
|
||||
if (!PlayerPrefs.HasKey (key))
|
||||
{
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.StateSystem;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Framework.Audio;
|
||||
using Framework.UI;
|
||||
using Game;
|
||||
@@ -24,11 +26,25 @@ namespace Views{
|
||||
|
||||
private PlayableDirector _playableDirector;
|
||||
|
||||
public override void OnOpenView(IC_ViewData parameters)
|
||||
public override async void OnOpenView(IC_ViewData parameters)
|
||||
{
|
||||
_toGame.gameObject.SetActive (false);
|
||||
string key = "CompleteCount";
|
||||
await UniTask.Delay (1000);
|
||||
if (!PlayerPrefs.HasKey ("toApp") && PlayerPrefs.GetInt (key , 0) > 0)
|
||||
{
|
||||
//提醒玩家评论
|
||||
UIManager.Instance.OpenTip ("本项目由" + "Taptap聚光灯挑战赛@2024".ToColorString (new Color (1f, 0.38f, 0f)) + "活动在规定的21天时间完成制作\n你的评价将是对我们最大的支持!点击确认查看游戏详情页!" ,
|
||||
() =>
|
||||
{
|
||||
PlayerPrefs.SetInt ("toApp" , 1);
|
||||
LaunchAppUtils.ToTapTapTargetApp(GameGlobalConfig.Instance.TapUrl);
|
||||
} , () => { });
|
||||
}
|
||||
this._playableDirector = parameters.GetValue<PlayableDirector>();
|
||||
MapContent.Instance.Pathfinder.Scan ();
|
||||
MapContent.Instance.IsActiveGame = true;
|
||||
this._toGame.gameObject.SetActive (true);
|
||||
}
|
||||
|
||||
public override void OnCloseView()
|
||||
|
||||
Reference in New Issue
Block a user