https://github.com/villevli/unityeditorextensions
Collection of small extensions, tools and tweaks for the Unity editor
https://github.com/villevli/unityeditorextensions
unity unity-editor
Last synced: 2 months ago
JSON representation
Collection of small extensions, tools and tweaks for the Unity editor
- Host: GitHub
- URL: https://github.com/villevli/unityeditorextensions
- Owner: villevli
- License: mit
- Created: 2025-03-26T20:19:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T22:01:48.000Z (over 1 year ago)
- Last Synced: 2025-03-26T23:19:48.576Z (over 1 year ago)
- Topics: unity, unity-editor
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Unity Editor Extensions
Collection of small editor extensions, tools and tweaks.
- [DefaultAssetInspector](Editor/DefaultAssetInspector.cs) - Shows the content of unsupported files in the inspector
- [GameViewObjectPicker](Editor/GameViewObjectPicker.cs) - Left click to select the object that is visible under the cursor in game view. If in play mode it needs to be paused
- [GameViewScreenshot](Editor/GameViewScreenshot.cs) - Quickly take screenshots with F12 from the Game View or the Simulator View.
- [DockAreaDragAndDrop](Editor/DockAreaDragAndDrop.cs) - Quickly open a tab for assets or objects that are dragged and dropped into the dock area.
## Installation
Most of the scripts here are self contained so if you want to pick something just copy that script to your project.
Or you can install everything via Package Manager by adding the following line to *Packages/manifest.json*:
- `"com.villevli.editor-extensions": "https://github.com/villevli/UnityEditorExtensions.git"`
## Development
Clone this package into `Packages/com.villevli.editor-extensions` in a Unity project.
For now development should be done in Unity 2021.3 to preserve backwards compability. Test in latest Unity versions separately.
See the `TestAssets/` folder for scenes and assets to test the different scripts.
Avoid dependencies to other packages. Use the Version Defines in Assembly Definition to conditionally support some if needed. E.g. define `USE_UGUI` when using `com.unity.ugui` and `USE_TMPRO` when using `com.unity.textmeshpro`.
To test in different Unity versions easily, create a separate project for each version and create a symbolic link in the Packages folder. Any changes you make will then appear in all projects automatically. Or you can use the "Add package from disk" option in Package Manager in the other projects.
Example for Windows to create a link in UnityPackageTestProject6000 that points to UnityPackageTestProject. Run cmd as admin
```bat
mklink /D "W:\villevli\UnityPackageTestProject6000\Packages\com.villevli.editor-extensions" "W:\villevli\UnityPackageTestProject\Packages\com.villevli.editor-extensions"
```