/// <summary> /// Triggered when one of the coordinate mode buttons is clicked, changing the active coordinate mode. /// </summary> /// <param name="mode">Clicked coordinate mode to activate.</param> private void OnCoordinateModeButtonClicked(HandleCoordinateMode mode) { EditorApplication.ActiveCoordinateMode = mode; editorSettingsHash = EditorSettings.Hash; }
/// <summary> /// Triggered when one of the coordinate mode buttons is clicked, changing the active coordinate mode. /// </summary> /// <param name="mode">Clicked coordinate mode to activate.</param> private void OnCoordinateModeButtonClicked(HandleCoordinateMode mode) { EditorApplication.ActiveCoordinateMode = mode; editorSettingsHash = EditorSettings.Hash; }