Releases: nixonyh/UnityUtil
Releases · nixonyh/UnityUtil
v1.4.2
[1.4.2]
New Features
- Added inverse lerp functions to support
float,float2, andfloat4operations. - Added default fields to
VXEditorUtil. CreateReorderableList(formerly known asFoldableReorderableList):- Supports serialized structs/classes.
- Element height now depends on serialized property height.
- Added "empty message" to display when the list is empty.
- Created
GroupableListclass for storing a group index for each reorderable list. - Created
EditorListConfigstruct to storeReorderableListrelated data. - Added
float3x.onetofloat3x.cs.
Changes
- Removed
AbstractVXScriptableEditor. serializedObjectnow updates every frame inOnInspectorGUI(inAbstractVXEditor) to refreshserializedObjectrepresentation (especially in scriptable objects).- Removed unused functions from
VXEditorUtil. - Renamed
FoldableReorderableListtoCreateReorderableList. - Added new
namespace->Voxell.Inspector.Listfor list specific classes/structs. - Moved
CreateReorderableListtoEditorListUtilfile. - Bump
com.unity.jobspackage version to0.50.0-preview.9. - Bump
com.unity.mathematicspackage version to1.2.6. - Updated
README.mddocs forMathx.
Bug Fixes
- Fixed
InspectOnlyheight problem. Previously, it can only handle properties with single line height, now it handles all properties with all kinds of height difference usingEditorGUI.GetPropertyHeight(property, true).
v1.4.1
[1.4.1]
Changes
FoldableReorderableList:- Optional parameters for
draggable,displayHeader,displayAddButton,displayRemoveButton,multiSelect, andprefix. multiSelectis a newly added parameter.- Increase header rect by 3.0f to allow characters like 'g' and 'y' to be fully rendered.
- Uses serialized property from the list instead of the cached serialized property taken in as the function's parameter.
- Added parameter to change header string.
- Optional parameters for
spaceAandspaceBchanged toSPACE_AandSPACE_Brespectively.InspectorViewreturnsEditorwhen initializing.OnChangemethod implemented for abstract editors. This method will be called whenever there is any changes made to the editor.
v1.4.0
[1.4.0]
New Features
- Custom Editor Views for UIBuilder
- Inspector View
- Split View
- Abstract Editor and Abstract Scriptable Editor.
- Graphics
Blelloch Sum Scancompute shader.Hillis Steele Sum Scancompute shader.AABB Scancompute shader.Radix Sortcompute shader.- unit tests for each of them.
- Added "writing" methods to streaming asset files in
FileUtilx.
Changes
- Added
ReadOnlyandWriteOnlytags to native arrays onJobxwhere neccessary. - Improved performance of
Min/Max/Sum Scanby increasing the batch size. - Prevent the allocation of new array everytime a new scan/sort is needed by caching it during initialization.
- Removed Logging class.
- added NativeGetTangents method (MeshUtil).
- Shuffle array method in MathUtil now uses UnityEngine.Random instead of Unity.Mathematics.Random for easier usage (no need to think about what seed to provide & since it is a serial method).
- Renamed
Init()method toInitKernels(). NativeContainerscompletely removed. (this action has been made due to the additional complexitiy when using native containers on simple tasks likeInterlocked.ExchangeorInterlocked.Increment, these operations can be done quite easily using unsafe and pointers in a Job System)
v1.3.0
New Features
- Jobx (parallel computation primitives)
- ReverseJob: Reverse native array in parallel.
- Hillis Steele inclusive sum scan implementation.
- Hillis Steele inclusive min/max scan implementation.
- Radix Sort (LSB) implementation.
- Native Containers
- Native Increment (atomic incrementation of an int).
- Native Add (atomic addition of an int).
- Native Exchange (atomic exchange of an int).
- mathx:
approximately_zerofunction.- lower case for
long_axisfunction.
- directional vectors added for
float2xandfloat3x(e.g. up, down, forwad, etc.) - Created unit tests for
JobxandNativeContainers.
Changes
- Added package dependencies:
- "com.unity.jobs": "0.11.0-preview.6"
- "com.unity.burst": "1.5.5"
- Fixed
StreamingAssetFilePathandStreamingAssetFolderPathstack error when opening file explorer. - Renamed
float2_extensionandfloat3_extensiontofloat2xandfloat3x.
Bug Fixes
- Fixed Bug: Mesh Info tool throws error when mesh filter or skinned mesh renderer has no mesh/missing mesh.
- Hillis Steele inclusive sum scan does not include first element.
v1.2.0
-
New Features
- New tool: Mesh Info [EditorWindow]
- Under Tools/Voxell/Mesh Info
- Shows mesh stats based on the GameObject/Prefab you select.
- Recursively search for children objects inside the GameObject/Prefab for MeshFilter and SkinnedMeshRenderer.
- Stats include:
- Vertex Count
- Sub Mesh Count
- Triangle Count
- Ping functionality allows user to ping GameObject or Mesh location.
- Multi select support.
- New tool: Mesh Info [EditorWindow]
-
Changes
- EditorStyles -> VXEditorStyles to prevent conflict with UnityEditor namespace
- EditorUtil -> VXEditorUtil (match the above naming convention)
- Moved NativeUtil from Voxell.Mathx to Voxell namespace