public override void OnCreated(IThreading threading)
 {
     Instance = this;
     ui.selectedToolModeChanged += (ToolMode newMode) => {
         SetToolMode(newMode);
     };
 }
 public override void OnCreated(IThreading threading)
 {
     Instance = this;
     ui.selectedToolModeChanged += (ToolMode newMode) => {
         SetToolMode(newMode);
     };
 }