Esempio n. 1
0
 public override void OnDeactivate()
 {
     ChiselPlacementOptionsOverlay.Hide();
     base.OnDeactivate();
     UnityEditor.Selection.selectionChanged -= OnSelectionChanged;
     ChiselGeneratorManager.GeneratorMode.OnDeactivate();
 }
Esempio n. 2
0
 public override void OnActivate()
 {
     ChiselPlacementOptionsOverlay.Show();
     base.OnActivate();
     UnityEditor.Selection.selectionChanged -= OnSelectionChanged;
     UnityEditor.Selection.selectionChanged += OnSelectionChanged;
     ChiselGeneratorManager.GeneratorMode.OnActivate();
     ChiselOutlineRenderer.VisualizationMode = VisualizationMode.None;
     UpdatePlacementToolIcon();
 }