public virtual void OnActivate() { lastSelectedTool = this; lastRememberedToolType = this.GetType(); UnitySceneExtensions.Snapping.SnapMask = ToolUsedSnappingModes; SnapSettingChanged?.Invoke(); }
public virtual void OnDeactivate() { UnitySceneExtensions.Snapping.SnapMask = UnitySceneExtensions.SnapSettings.All; SnapSettingChanged?.Invoke(); }