Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

New array Extension plus tests #461

Merged
merged 3 commits into from
Mar 10, 2020
Merged

Conversation

SimonDarksideJ
Copy link
Contributor

XRTK - Mixed Reality Toolkit Change Request

Overview

  • Added new "InitialiseArray" array extension to set all values of an array to a new value, including Tests
  • Added null check on Array AddItem
  • Fixed license in Core test 2

… array to a new value, including Tests

* Added null check on Array AddItem
Fixed license in Core test 2
SimonDarksideJ and others added 2 commits March 10, 2020 13:33
Co-Authored-By: Stephen Hodgson <StephenHodgson@users.noreply.github.com>
@SimonDarksideJ
Copy link
Contributor Author

Applied suggested fix to both extensions, if the array is null, return a single item array with the item provided

@StephenHodgson StephenHodgson merged commit 6c7ada8 into development Mar 10, 2020
@StephenHodgson StephenHodgson deleted the feature/arrayinit branch March 10, 2020 16:01
StephenHodgson added a commit that referenced this pull request Mar 16, 2020
* * Added new "InitialiseArray" array extension to set all values of an array to a new value, including Tests
* Added null check on Array AddItem
Fixed license in Core test 2

* Resolved a new issue for when a new controller is defined but not yet initialised

Requires #461

* Forgot to turn wysiwyg off again :D

Co-authored-by: Stephen Hodgson <StephenHodgson@users.noreply.github.com>
XRTK-Build-Bot pushed a commit that referenced this pull request Mar 27, 2020
* * Added new "InitialiseArray" array extension to set all values of an array to a new value, including Tests
* Added null check on Array AddItem
Fixed license in Core test 2

* Update XRTK-Core/Packages/com.xrtk.core/Extensions/ArrayExtensions.cs

Co-Authored-By: Stephen Hodgson <StephenHodgson@users.noreply.github.com>

* Applied review patches

Co-authored-by: Stephen Hodgson <StephenHodgson@users.noreply.github.com>
XRTK-Build-Bot pushed a commit that referenced this pull request Mar 27, 2020
* * Added new "InitialiseArray" array extension to set all values of an array to a new value, including Tests
* Added null check on Array AddItem
Fixed license in Core test 2

* Resolved a new issue for when a new controller is defined but not yet initialised

Requires #461

* Forgot to turn wysiwyg off again :D

Co-authored-by: Stephen Hodgson <StephenHodgson@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants