You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Guide;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Framework.Audio;
|
||||
using Framework.FSMLite;
|
||||
using Framework.UI;
|
||||
@@ -26,6 +27,8 @@ namespace Game.FsmNode
|
||||
CameraEffectUtils.Instance.SetAberration (0f , 0.5f);
|
||||
CameraEffectUtils.Instance.SetGameCamBlur (0f , 0.5f , null);
|
||||
MapContent.Instance.IsActiveGame = true;
|
||||
await UniTask.Delay (100);
|
||||
MapContent.Instance.Pathfinder.Scan ();
|
||||
// MapContent.Instance.Pathfinder.
|
||||
AudioManager.Instance.PlayBGM (BgmAudio.FightingBgm);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Game.FsmNode
|
||||
{
|
||||
protected override async void OnEnter (params object[] args)
|
||||
{
|
||||
MapContent.Instance.PlayerEntity.gameObject.SetActive (false);
|
||||
if (MapContent.Instance.ScenePart == null)
|
||||
{
|
||||
RoomManager.Instance.LoadScenePart (RoomManager.Instance.PartIndex);
|
||||
|
||||
Reference in New Issue
Block a user