Improvements
2D Improvements
- Allow sprites to be dragged into scene view in 3d mode. Add temp GO while dragging for visual feedback similar to when dragging prefabs/model into scene view
- Frame selected command (F) now works in the sprite editor window for the selected sprite rect
- Implement undo functionality for sprite editor window’s slice menu
- New grid slicing method that uses column and row count
- Pivot snapping on sprite frame rect in sprite editor window only happens when Ctrl is pressed while mouse dragging the pivot handle
- Provide a custom pivot field in the slicing menu for the sprite editor window
- Zooming on sprite editor window’s texture will zoom towards mouse cursor
Editor Improvement
- Added RunOpenPanelWithFilters API
- Better error message when “The classes in the module cannot be loaded” is thrown
- Improved Compute Shader inspector; now lists errors & warnings similar to regular shader inspector
- Improved Export Package window (now uses a proper tree view)
- Improved shader inspector performance when there are many errors shown
- Make sure ObjectField and Object Selector shows icons for game objects and prefabs
- More “create new shader” templates under assets create menu (PBS surface shader, unlit shader, image effect shader)
- Selection.selectionChange callback triggered when selection changes
- Show proper cubemap preview instead of icon in large preview ObjectField
- When in 2D mode, the camera bounds for the main camera is always visible when it is in orthographic mode