Skip to content

A minimal solution for selecting entities in the unity sceneview. Useful for users using older versions of the Unity entities package.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

JonasDeM/EntitySelection

Repository files navigation

EntitySelection

openupm

A small package that enables you to select entities in the unity sceneview. Works with every RenderPipeline. EntitySelectionGif

How to select

  1. Make sure you're in PlayMode & your focus is on the sceneview (not gameview)
  2. Point to the entity with mouse pointer (first selection can take some time, depends on total amount entities with meshes)
  3. Press the '1' key (Non Numpad)
    => Inspector window should show all info for entity.

How to get this package for your own project

Install via OpenUPM

The package is available on the openupm registry. You can install it via openupm-cli.

openupm add io.github.jonasdem.entityselection

Install via git url

  1. Click the green "Clone or download" button and copy the url.
  2. In Unity go to Window>Package Manager and Press the + sign in the left-top corner of the Package Manager window.
  3. Select "Add package from git URL...", Paste the URL and press "Add". Done!

Or manually add the dependency to the Packages/manifest.json file.

{
    "dependencies": {
        "io.github.jonasdem.entityselection": "https://github.com/JonasDeM/EntitySelection.git"
    }
}

Contribution

BugFixes and UX improvements are appreciated. Performance Improvements are welcome, since I'm not prioritizing those. No setup should ever be needed.

Thanks to Tom for making this repo a package.

Todo

  • Use left-click for selection (Blocked, OnMouseUp event currently gets consumed by the SceneView, not sure a workaround exists)
  • Low Priority: Performance Improvements (Waiting for MaterialPropertyBlocks in DOTS)

About

A minimal solution for selecting entities in the unity sceneview. Useful for users using older versions of the Unity entities package.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •