public void ShowTMPanel() { if (tmPanel == null) { tmPanel = (UITrafficManager)UIView.GetAView().AddUIComponent(typeof(UITrafficManager)); } tmPanel.isVisible = true; LoadingExtension.Instance.SetToolMode(TrafficManagerMode.TrafficLight); }
public void ShowTMPanel() { if (tmPanel == null) { tmPanel = (UITrafficManager) UIView.GetAView().AddUIComponent(typeof(UITrafficManager)); } tmPanel.isVisible = true; LoadingExtension.Instance.SetToolMode(TrafficManagerMode.TrafficLight); }