You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -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 ()
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user