Skip to content

Commit

Permalink
Release 1.0.3 (#24)
Browse files Browse the repository at this point in the history
* Updated Rest features (#23)
* Updating Rest utilities, added cancellation token to all calls. Plus clean up
* Added Unit Tests to Rest functionality
* Standardised overload options into a new RestArgs struct
* Rationalised implementations for standards
* Added overloaded Download function to return a byte[] or file string contents
* Fix new script icon
* Update workflow to multi-version for test
* Updated PostForm following 2022 testing
* Include uGUI dependency for the UI extensions in the package
* Extract Canvas dependencies from the utility package
* Final review and cleanup
* Update Readme

---------

Co-authored-by: Simon Jackson <[email protected]>
  • Loading branch information
SimonDarksideJ authored Mar 9, 2023
1 parent 4341567 commit 24cfffd
Show file tree
Hide file tree
Showing 32 changed files with 716 additions and 665 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/development-buildandtestupmrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
Run-Unit-Tests:
name: Run Unity Unit Tests
needs: Validate-Unity
uses: realitycollective/reusableworkflows/.github/workflows/rununityUPMbuild.yml@v2
uses: realitycollective/reusableworkflows/.github/workflows/rununityUPMbuildmultiversion.yml@v2
with:
unityversion: ${{ needs.Validate-Unity.outputs.unityeditorversion }}
dependencies: '{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"}'
secrets: inherit
11 changes: 0 additions & 11 deletions Editor/AssemblyInfo.cs

This file was deleted.

83 changes: 75 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,82 @@
A collection of useful utilities for Unity Projects by the Reality Collective. Useful for any Unity Project to accelerate and code safely within Unity.

## What's included?
<!-- Fill in list of what is included here -->

tbc.
### Utilities

* Rest - A collection of Rest based tools to make making and using Rest calls in Unity very easy.
* Async - A collection of Asynchronous and CoRoutine helpers for working with Sync -> Async code.

### Extensions

* AnimationCurveExtensions
* ArrayExtensions
* AssemblyExtensions
* BoundsExtensions
* CameraExtensions
* CollectionsExtensions
* ColliderExtensions
* CollisionExtensions
* Color32Extensions
* ComparerExtensions
* ComponentExtensions
* ConverterExtensions
* DoubleExtensions
* EnumerableExtensions
* EnumExtensions
* FloatExtensions
* GameObjectExtensions
* HandednessExtensions
* LayerExtensions
* MathfExtensions
* ProcessExtensions
* QuaternionExtensions
* RayExtensions
* SpriteExtensions
* StringExtensions
* SystemNumericsExtensions
* TextureExtensions
* TransformExtensions
* TypeExtensions
* UnityObjectExtensions
* VectorExtensions

### Reusable definitions

* AnimatorParameter
* AutoStartBehavior
* AxisType
* CardinalAxis
* CollationOrderType
* FlattenMode
* Handedness
* OrientationType
* PivotAxis
* ProcessResult
* QuaternionSmoothed
* RecognitionConfidenceLevel
* RenderPipeline
* RotationConstraintType
* ScaleStateType
* SystemType
* TypeGrouping
* Vector3Smoothed

### Property Attributes

* EnumFlagsAttribute
* ExtendsAttribute
* Il2CppSetOptionAttribute
* ImplementsAttribute
* PhysicsLayerAttribute
* PrefabAttribute
* SystemTypeAttribute
* Vector3RangeAttribute

## Requirements
<!-- Fill in list of requirements here -->

- [Unity 2020.3 and above](https://unity.com/)
* [Unity 2020.3 and above](https://unity.com/)

### OpenUPM
<!-- Check openUPM links and details -->
Expand All @@ -19,8 +87,8 @@ tbc.

The simplest way to getting started using the utilities package in your project is via OpenUPM. Visit [OpenUPM](https://openupm.com/docs/) to learn more about it. Once you have the OpenUPM CLI set up use the following command to add the package to your project:

```
`openupm add com.realitycollective.utilities`
```text
openupm add com.realitycollective.utilities
```

> For more details on using [OpenUPM CLI, check the docs here](https://github.com/openupm/openupm-cli#installation).
Expand All @@ -30,6 +98,5 @@ The simplest way to getting started using the utilities package in your project

| branch | build status |
| --- | --- |
| main | [![main](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/buildupmpackages.yml/badge.svg?branch=main)](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/buildupmpackages.yml) |
| development | [![development](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/buildupmpackages.yml/badge.svg?branch=development)](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/buildupmpackages.yml) |

| main | [![main](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/main-publish.yml/badge.svg?branch=main)](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/main-publish.yml) |
| development | [![development](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/development-buildandtestupmrelease.yml/badge.svg?branch=development)](https://github.com/realitycollective/com.realitycollective.utilities/actions/workflows/development-buildandtestupmrelease.yml) |
11 changes: 0 additions & 11 deletions Runtime/AssemblyInfo.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Runtime/AssemblyInfo.cs.meta

This file was deleted.

3 changes: 3 additions & 0 deletions Runtime/Attributes/Il2CppSetOptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System;

namespace Unity.IL2CPP.CompilerServices
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/AutoStartBehavior.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace RealityCollective.Definitions.Utilities
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/AxisType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace RealityCollective.Definitions.Utilities
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/CardinalAxis.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System;
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/FlattenMode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace RealityCollective.Definitions.Utilities
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/RenderPipeline.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace RealityCollective.Definitions.Utilities
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Definitions/Utilities/SystemType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) XRTK. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System;
Expand Down
Loading

0 comments on commit 24cfffd

Please sign in to comment.