Exemplo n.º 1
0
 protected override void Awake()
 {
     base.Awake();
     DontDestroyOnLoad(this.gameObject);
     this.m_MapTask         = new CMapTask();
     this.m_CurrentTask     = this.m_MapTask.GetFirstTask();
     this.m_CurrentTaskName = this.m_CurrentTask.GetTaskName();
 }
Exemplo n.º 2
0
 public void PrevertTask()
 {
     this.m_CurrentTask.EndTask();
     this.m_CurrentTask = this.m_MapTask.GetTask(this.m_PrevertTask);
     if (this.m_CurrentTask != null)
     {
         this.m_CurrentTask.Transmission();
     }
     this.m_CurrentTaskName = this.m_CurrentTask.GetTaskName();
 }