update core

This commit is contained in:
2024-10-28 00:40:00 +08:00
parent 991ce10c52
commit 66b8593446
14 changed files with 116 additions and 20 deletions

View File

@@ -34,10 +34,10 @@ namespace Views
this._time = 1;
}
#if !UNITY_EDITOR
VibratorImp.Instance.Vibrator_Normal (0.2f , (int)(math.clamp (this._time , 0 , 1) * 50));
VibratorImp.Instance.Vibrator_Normal (0.35f , (int)(math.clamp (this._time , 0 , 1) * 300));
#endif
// GameManager.Instance.Vibrator (VibratorScale.Small);
CameraImpulseUtils.Instance.UniformImpulseCamera (0.5f , math.clamp (this._time , 0 , 2));
CameraImpulseUtils.Instance.UniformImpulseCamera (0.5f , math.clamp (this._time , 0 , 5));
}
private void DoUpdate ()

View File

@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.StateSystem;
using Cysharp.Threading.Tasks;
using Framework.Audio;
using Framework.UI;
using Game;
@@ -51,11 +52,12 @@ namespace Views
this.table1.gameObject.SetActive (true);
}
private void OnTable4 (PlayableDirector obj)
private async void OnTable4 (PlayableDirector obj)
{
this._animatorStateUpdate.state = 7;
this.table3.gameObject.SetActive (false);
this.table4.gameObject.SetActive (true);
await UniTask.Delay (5000);
this._closeBtn.gameObject.SetActive (true);
}

View File

@@ -31,15 +31,17 @@ namespace Views{
_toGame.gameObject.SetActive (false);
string key = "CompleteCount";
await UniTask.Delay (1000);
if (!PlayerPrefs.HasKey ("toApp") && PlayerPrefs.GetInt (key , 0) > 0)
// !PlayerPrefs.HasKey ("toApp") &&
if ( PlayerPrefs.GetInt (key , 0) > 0)
{
//提醒玩家评论
UIManager.Instance.OpenTip ("本项目由" + "Taptap聚光灯挑战赛@2024".ToColorString (new Color (1f, 0.38f, 0f)) + "活动在规定的21天时间完成制作\n你的评价将是对我们最大的支持点击确认查看游戏详情页!" ,
UIManager.Instance.OpenTip ("本项目由" + "Taptap聚光灯GameJam@2024".ToColorString (new Color (1f, 0.38f, 0f)) + "活动在规定的21天时间完成制作\n你的评价将是对我们最大的支持点击确认查看游戏详情页!" ,
() =>
{
PlayerPrefs.SetInt ("toApp" , 1);
LaunchAppUtils.ToTapTapTargetApp(GameGlobalConfig.Instance.TapUrl);
LaunchAppUtils.ToTapTapTargetApp(GameGlobalConfig.Instance.TapAppUrl);
} , () => { });
LaunchAppUtils.CheckTargetApp ("taptap.com");
}
this._playableDirector = parameters.GetValue<PlayableDirector>();
MapContent.Instance.Pathfinder.Scan ();