{ "name": "com.unity.xr.core-utils", "displayName": "XR Core Utilities", "version": "2.4.0", "unity": "2021.3", "unityRelease": "0f1", "description": "Common utility classes for XR projects\nRefer to API documentation for details. Some particularly useful utilities include:\n▪ Geometry Utilities\n ▪ Point of closest approach\n ▪ Closest edge of a polygon\n ▪ Check if point inside of polygon\n ▪ Compute 2D convex hull\n▪ Collection pool\n▪ Math Utilities\n ▪ Bounds extensions\n ▪ Quaternion extensions\n▪ Editor GUI\n ▪ Flags Property Drawer\n▪ Scriptable Settings (serialized project settings)\n▪ Conditional Compilation Utility\n▪ XR Origin Implementation", "keywords": [ "xr", "ar", "augmented", "reality", "utility", "utilities", "core" ], "dependencies": { "com.unity.modules.xr": "1.0.0" }, "_upm": { "changelog": "### Added\n\n- Added [ReadOnlyList\\.Empty()](xref:Unity.XR.CoreUtils.Collections.ReadOnlyList`1.Empty), a static shortcut method that allows you to re-use the same empty collection throughout your app.\n- Added new collection [ReadOnlyListSpan\\](xref:Unity.XR.CoreUtils.Collections.ReadOnlyListSpan) that creates a read-only wrapper around a `List` and allows for slicing similar to [ReadOnlySpan.Slice](https://learn.microsoft.com/en-us/dotnet/api/system.readonlyspan-1.slice?view=net-8.0).\n\n### Changed\n\n- Changed the minimum version of supported Unity editor to 2021.3 LTS.\n\n### Removed\n\n- Removed `Type.GetFieldsWithAttribute` and `ReflectionUtils.GetFieldsWithAttribute` APIs which were only available in Unity 2019.4.\n\n### Fixed\n\n- Improved performance of [HashSetList\\](xref:Unity.XR.CoreUtils.Collections.HashSetList`1) to optimize getting `Count` and optimize `Remove` when empty.\n- Improved performance of [BindableVariableBase\\](xref:Unity.XR.CoreUtils.Bindings.Variables.BindableVariableBase`1) to optimize value changes by skipping the equality check when there are no subscribers. The `SetValueWithoutNotify` method will now always return `false` when there are no subscribers." }, "upmCi": { "footprint": "6e24bb33ee20a8cb0c843c26795979d779f54d19" }, "documentationUrl": "https://docs.unity3d.com/Packages/com.unity.xr.core-utils@2.4/manual/index.html", "repository": { "url": "https://github.cds.internal.unity3d.com/unity/com.unity.xr.core-utils.git", "type": "git", "revision": "591a224bb2f7ec06a2a9b25e4350e0bcf9cd8d01" }, "_fingerprint": "50db0cb8b196e68b673fa5d26ac897afc6c1a282" }