Releases: nixon-voxell/UnityUtil
Releases · nixon-voxell/UnityUtil
v1.4.2
[1.4.2]
New Features
- Added inverse lerp functions to support
float
,float2
, andfloat4
operations. - 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
GroupableList
class for storing a group index for each reorderable list. - Created
EditorListConfig
struct to storeReorderableList
related data. - Added
float3x.one
tofloat3x.cs
.
Changes
- Removed
AbstractVXScriptableEditor
. serializedObject
now updates every frame inOnInspectorGUI
(inAbstractVXEditor
) to refreshserializedObject
representation (especially in scriptable objects).- Removed unused functions from
VXEditorUtil
. - Renamed
FoldableReorderableList
toCreateReorderableList
. - Added new
namespace
->Voxell.Inspector.List
for list specific classes/structs. - Moved
CreateReorderableList
toEditorListUtil
file. - Bump
com.unity.jobs
package version to0.50.0-preview.9
. - Bump
com.unity.mathematics
package version to1.2.6
. - Updated
README.md
docs forMathx
.
Bug Fixes
- Fixed
InspectOnly
height 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
. multiSelect
is 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
spaceA
andspaceB
changed toSPACE_A
andSPACE_B
respectively.InspectorView
returnsEditor
when initializing.OnChange
method 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 Scan
compute shader.Hillis Steele Sum Scan
compute shader.AABB Scan
compute shader.Radix Sort
compute shader.- unit tests for each of them.
- Added "writing" methods to streaming asset files in
FileUtilx
.
Changes
- Added
ReadOnly
andWriteOnly
tags to native arrays onJobx
where neccessary. - Improved performance of
Min/Max/Sum Scan
by 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()
. NativeContainers
completely removed. (this action has been made due to the additional complexitiy when using native containers on simple tasks likeInterlocked.Exchange
orInterlocked.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_zero
function.- lower case for
long_axis
function.
- directional vectors added for
float2x
andfloat3x
(e.g. up, down, forwad, etc.) - Created unit tests for
Jobx
andNativeContainers
.
Changes
- Added package dependencies:
- "com.unity.jobs": "0.11.0-preview.6"
- "com.unity.burst": "1.5.5"
- Fixed
StreamingAssetFilePath
andStreamingAssetFolderPath
stack error when opening file explorer. - Renamed
float2_extension
andfloat3_extension
tofloat2x
andfloat3x
.
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
v1.1.0
- New Features:
- Buffer Array disposing utilities in GraphicsUtil.
- common stride sizes in a static class called StrideSize.
- ComputeShaderUtil for handling simple parallel task.
- Sequence array generator.
v1.0.0
Initial release