コード例 #1
0
 private void Start_Rev_Plot_Res(int id)
 {
     Debug.Log("请求准备需要加载的剧情资源,剧情ID为" + id);
     this.m_curSequence = null;
     Application.LoadLevelAdditive("p" + id.ToString());
     this.m_ePlotStep = PlotMain.ENUM_POLTSTEP.PLSP_Req_Res;
 }
コード例 #2
0
 private void Start_Rev_Play_Plot()
 {
     if (this.m_ePlotStep == PlotMain.ENUM_POLTSTEP.PLSP_Wait_Res)
     {
         this.m_ePlotStep = PlotMain.ENUM_POLTSTEP.PLSP_Playing_Plot;
         Debug.Log("开启剧情了.................");
         this.m_curSequence.Play();
         this.m_curSequence = null;
         this.m_GamePlotSeq = GameObject.Find("Sequence");
         if (this.m_GamePlotSeq == null)
         {
             Debug.Log("剧情资源错误!!!之后会无法释放..............");
             Application.Quit();
         }
         else
         {
             Debug.Log("成功连接到了资源");
         }
     }
 }