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 { 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); } } }