text: ﻿using System.Collections;
  using System.Collections.Generic;
  using GameFramework;
  using GameFramework.Procedure;
  using UnityEngine;
  using UnityGameFramework.Runtime;
  using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;
  public class Demo2_ProcedureLaunch : ProcedureBase
  {
      protected override void OnEnter (ProcedureOwner procedureOwner)
      {
          base.OnEnter(procedureOwner);
  
          Log.Debug("初始！！");
  
          SceneComponent scene
              = UnityGameFramework.Runtime.GameEntry.GetComponent<SceneComponent>();
  
          // 切换场景
          scene.LoadScene("Assets/Demo2/Demo2_Menu.unity", this);
  
          // 切换流程
          ChangeState<Demo2_ProcedureMenu>(procedureOwner);
      }
  }
  