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

With Unity Entities 1.0 dropping at the end of 2022 this package has become mostly redundant.
It has served its purpose since 2019, but I won't be updating this package anymore.
I'm leaving it online anyway since the implementation can still be useful for users using older versions of the entities package or as a reference for GPU Picking during gameplay.

EntitySelection

openupm

A small package that enables you to select entities in the unity sceneview.
It works both in play mode & edit mode.
EntitySelectionGif

How to select

  1. (Optional: Enable DOTS>LivelinkMode>LiveConversionInEditMode to have all entities in edit mode.)
  2. Make sure your focus is on the sceneview (not gameview)
  3. Point to the entity with mouse pointer
  4. 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 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"
    }
}

Install via OpenUPM

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

openupm add io.github.jonasdem.entityselection

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.

2019.2 branch

If you want a 2019.2 (And probably 2019.1) compatible version, use the 2019.2 branch. Use "https://github.com/JonasDeM/EntitySelection.git#2019.2" in the "Install via git url" steps.

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

  •  
  •  
  •  
  •