private void OnActiveMissionRemoved(ActiveMission actMiss) { if (!_Views.ContainsKey(actMiss)) { Debug.Log("Could not find active mission in _Views"); } else { ActiveMissionViewController view = _Views[actMiss]; view.CleanUp(); _Views.Remove(actMiss); } }
private void OnActiveMissionAdded(ActiveMission actMiss) { ActiveMissionViewController view = new ActiveMissionViewController(actMiss, LineMaterial); _Views.Add(actMiss, view); }