Пример #1
0
 public virtual void OnActivate()
 {
     lastSelectedTool       = this;
     lastRememberedToolType = this.GetType();
     UnitySceneExtensions.Snapping.SnapMask = ToolUsedSnappingModes;
     SnapSettingChanged?.Invoke();
 }
Пример #2
0
 public virtual void OnDeactivate()
 {
     UnitySceneExtensions.Snapping.SnapMask = UnitySceneExtensions.SnapSettings.All;
     SnapSettingChanged?.Invoke();
 }