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