Skip to content

Select the viewing direction for a Unity SceneView with the Blender-like hotkeys.

License

Notifications You must be signed in to change notification settings

nowsprinting/blender-like-sceneview-hotkeys

Repository files navigation

Blender-like SceneView Hotkeys

Meta file check Test openupm BOOTH

This Unity Editor extension allows you to select the viewing direction for a SceneView with the Blender -like hotkeys.

e.g. Numpad 1/3/7 as switch front/right/top view. Numpad 5 as toggle orthographic projection.

Click 日本語 for the Japanese page if you need it.

Features

Some of Blender's hotkeys Implement. See Documentation page for implemented hotkeys.

See Navigating - Blender Manual for all Blender's hotkeys.

Settings

If your keyboard is without a Numpad, open Preferences > Blender-like SceneView Hotkeys , and turn on Emulate Numpad.

However, the Unity Editor already assigned the 2 key. If you are using Unity 2019 or later, you can change the assignment with Shortcuts Manager.

Installation

You can choose from two typical installation methods.

Install via Package Manager window

  1. Open the Package Manager tab in Project Settings window (Editor > Project Settings)
  2. Click + button under the Scoped Registries and enter the following settings (figure 1.):
    1. Name: package.openupm.com
    2. URL: https://package.openupm.com
    3. Scope(s): com.nowsprinting
  3. Open the Package Manager window (Window > Package Manager) and select My Registries in registries drop-down list (figure 2.)
  4. Click Install button on the com.nowsprinting.blender-like-sceneview-hotkeys package

Figure 1. Package Manager tab in Project Settings window.

Figure 2. Select registries drop-down list in Package Manager window.

Install via OpenUPM-CLI

If you installed openupm-cli, run the command below:

openupm add com.nowsprinting.blender-like-sceneview-hotkeys

License

MIT License

How to contribute

Open an issue or create a pull request.

Be grateful if you could label the pull request as enhancement, bug, chore, and documentation. See PR Labeler settings for automatically labeling from the branch name.

How to development

Add this repository as a submodule to the Packages/ directory in your project.

Run the command below:

git submodule add https://github.com/nowsprinting/blender-like-sceneview-hotkeys.git Packages/com.nowsprinting.blender-like-sceneview-hotkeys

Release workflow

Run Actions > Create release pull request > Run workflow and merge created pull request. (Or bump version in package.json on default branch)

Then, Will do the release process automatically by Release workflow. And after tagging, OpenUPM retrieves the tag and updates it.

Do NOT manually operation the following operations:

  • Create a release tag
  • Publish draft releases