You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
@@ -1,16 +1,24 @@
|
||||
using System;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Framework.Audio;
|
||||
using Framework.FSMLite;
|
||||
using Framework.UI;
|
||||
using Game.Component;
|
||||
using UnityEngine;
|
||||
using Views;
|
||||
|
||||
namespace Game.FsmNode
|
||||
{
|
||||
public class GameField : StateMachine<GameState>
|
||||
{
|
||||
protected override void OnEnter (params object[] args)
|
||||
protected override async void OnEnter (params object[] args)
|
||||
{
|
||||
AudioManager.Instance.PlaySoundEffect(SeAudio.OverGame_Fail);
|
||||
CameraManager.Instance.SetCloseUpTarget (MapContent.Instance.PlayerEntity.transform , 2f);
|
||||
CameraImpulseUtils.Instance.ExplosionImpulseCamera (1 , 0.5f , 0.5f , 0.5f);
|
||||
CameraEffectUtils.Instance.SetAberration (1 , 0.5f);
|
||||
AudioManager.Instance.PlaySoundEffect (SeAudio.OverGame_Fail);
|
||||
await UniTask.Delay (2000);
|
||||
this.stateMachineRunner.OpenState (GameState.StartGame);
|
||||
}
|
||||
|
||||
protected override void OnExit ()
|
||||
|
||||
Reference in New Issue
Block a user