You've already forked taptap2024_GJ_chidouren
27 lines
632 B
C#
27 lines
632 B
C#
using System;
|
|
using Framework.Audio;
|
|
using Framework.FSMLite;
|
|
using Framework.UI;
|
|
using Game.EventDefine;
|
|
using IcecreamView;
|
|
using UnityEngine;
|
|
using Views;
|
|
|
|
namespace Game.FsmNode
|
|
{
|
|
public class GamePart : StateMachine<GameState>
|
|
{
|
|
private int _lastPartLayer = -1;
|
|
private int _lastLevelIndex = -1;
|
|
|
|
protected override void OnEnter (params object[] args)
|
|
{
|
|
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
|
|
}
|
|
|
|
protected override void OnExit ()
|
|
{
|
|
UIManager.Instance.CloseViewWithGroup (this.GetType ().FullName);
|
|
}
|
|
}
|
|
} |