Commit Graph

691 Commits

Author SHA1 Message Date
Oliver Booth aca68cce72
[ci skip] Format csproj 2022-06-01 13:45:09 +01:00
Oliver Booth 74af813d78
Add RectInt conversions 2022-06-01 11:06:24 +01:00
Oliver Booth 5d63560146
Marked Singleton<T> obsolete
This pattern is discouraged.

... I regret adding it.
2022-05-31 11:52:59 +01:00
Oliver Booth c600825f55
[ci skip] Update X10D.Unity.Tests 2021.3.3f1 2022-05-31 11:52:37 +01:00
Oliver Booth 28dd88cf0a
Add Vector2/3Int method parity
* Added Vector2/3Int.Deconstruct
* Added Vector2/3Int.WithX
* Added Vector2/3Int.WithY
* Added Vector3Int.WithZ
* Added Vector2Int.ToSystemPoint
* Added Vector2Int.ToSystemSize
2022-05-31 11:41:29 +01:00
Oliver Booth f35f398d7f
Add conversions between Size(F)/Point(F)/Vector and Rect/Rectangle(F) 2022-05-28 14:19:46 +01:00
Oliver Booth 7ca206721b
Add MathUtility.InverseLerp (#60) 2022-05-23 10:33:52 +01:00
Oliver Booth 683e02cc2a
Add RoundUpToPowerOf2 2022-05-18 11:55:47 +01:00
Oliver Booth 5aea71465a
Add UnityEngine/System.Drawing color conversions 2022-05-16 10:41:53 +01:00
Oliver Booth e23aa13fda
Fix alpha values in Color32Tests 2022-05-16 10:40:32 +01:00
Oliver Booth d312d05f7a
Add vector tuple deconstruction 2022-05-16 10:30:55 +01:00
Oliver Booth 1bb1feb89b
Bump to 3.2.0 2022-05-16 10:19:53 +01:00
Oliver Booth 838a7cf72a
Merge branch 'main' into develop 2022-05-16 10:12:36 +01:00
Oliver Booth e3b223b36d
[ci skip] Fix misplaced backtick 2022-05-14 20:10:21 +01:00
Oliver Booth 1b155935c1
[ci skip] Drop render from type input 2022-05-14 20:08:44 +01:00
Oliver Booth 2a0afada76
[ci skip] Improve issue templates 2022-05-14 20:07:54 +01:00
Oliver Booth eb31e0fe3f
[ci skip] Migrate issue template to issue forms
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
2022-05-14 20:04:06 +01:00
Oliver Booth 0c169cdaf4
[ci skip] .md not .yml for coc 2022-05-14 19:43:32 +01:00
Oliver Booth 98665e3363
[ci skip] Add code of conduct 2022-05-14 19:42:44 +01:00
Oliver Booth 2b5fed836b
[ci skip] Update package version 2022-05-13 10:03:22 +01:00
Oliver Booth d95ed86174
[github actions] Build, don't publish, for (pre)release 2022-05-13 09:55:06 +01:00
Oliver Booth b0ac965a7d
Merge pull request #58 from oliverbooth/develop
3.1.0
2022-05-13 09:45:58 +01:00
Oliver Booth aa00f122b1
Update CHANGELOG 2022-05-13 09:36:20 +01:00
Oliver Booth 542b56fd01
Update X10D.Unity.Tests 2021.3.2f1
Reference Unity3D.SDK 2021.1.14f1 for X10D.Unity
2022-05-13 09:10:59 +01:00
Oliver Booth 048e0a22f7
Add Singleton<T> class 2022-05-13 09:09:25 +01:00
Oliver Booth 5d7d570749
[github actions] Pass GITHUB_TOKEN to docfx job
I'm still winging it. I have no idea how to fix this bug because the action in question is beyond my control.

https://github.com/maxheld83/ghpages/issues/31

^ This issue claims the linked issue provides a fix. Wasn't able to follow, so I'm just passing this token because... why not at this point? I'm getting tired of making commits that fails CI. I just want to watch Better Call Saul.
2022-05-12 15:00:40 +01:00
Oliver Booth f6aeaf35f7
[github actions] Pass GH_PAT to docfx-action
Still winging things.
2022-05-12 14:50:47 +01:00
Oliver Booth 4da6ac7de4
[github actions] Pass repo token to docfx job
Honestly I'm just winging it at this point.
2022-05-12 14:45:39 +01:00
Oliver Booth cd9d2d7bef
[github actions] Fix BUILD_DIR for docfx job 2022-05-12 14:30:51 +01:00
Oliver Booth 28d64f74fb
[github actions] Don't push nightly for main 2022-05-12 14:30:25 +01:00
Oliver Booth 10e4738788
[github actions] Don't run docfx job for PR 2022-05-12 14:28:00 +01:00
Oliver Booth 03b345325b
[ci skip] [github actions] Update DocFx job 2022-05-12 14:26:10 +01:00
Oliver Booth a566058837
Add docfx project 2022-05-12 14:24:13 +01:00
Oliver Booth 23e07b65b8
Add [ReadOnly]Span<T>.Count(Predicate<T>) 2022-05-12 13:52:04 +01:00
Oliver Booth 1428618ca9
Add System.Numerics/UnityEngine vector/quaternion conversions 2022-05-09 20:40:55 +01:00
Oliver Booth d17e1670de
Remove call to Cast, avoid alloc of Transform.Enumerator
Children are now retrieved using a combination of childCount and GetChild method
2022-05-09 19:47:02 +01:00
Oliver Booth 4d19e2f64c
Add Vector.With* methods (resolves #56) 2022-05-09 10:33:21 +01:00
Oliver Booth d904daf431
Add Color.With* methods (resolves #55) 2022-05-09 10:01:03 +01:00
Oliver Booth 176ad9fa09
[ci skip] Define colors as fields 2022-05-09 09:59:03 +01:00
Oliver Booth df0257f498
Add GameObject.SetLayerRecursively (#57) 2022-05-08 22:37:03 +01:00
Oliver Booth 330be689b6
[ci skip] Update CHANGELOG 2022-05-08 20:22:06 +01:00
Oliver Booth 6159d87573
[github actions] mkdir before cp 2022-05-08 19:58:25 +01:00
Oliver Booth 4d94eabacc
[github actions] Use local build artifacts instead of package 2022-05-08 19:56:48 +01:00
Oliver Booth aa30abea93
Add Color.Inverted (#54) 2022-05-08 19:52:49 +01:00
Oliver Booth 6c24231a2c
[ci skip] Apply root namespace X10D.Unity 2022-05-08 12:17:57 +01:00
Oliver Booth 7da6dc1009
Add tests for X10D.Unity 2022-05-08 12:09:30 +01:00
Oliver Booth bdc0cdccd9
[github actions] Add Unity activation 2022-05-08 12:02:33 +01:00
Oliver Booth ec8ac5a864
[github actions] Add Unity activation 2022-05-08 12:00:21 +01:00
Oliver Booth 051406c279
Fix xmldoc to reference Vector3.magnitude not .Length() 2022-05-08 00:07:07 +01:00
Oliver Booth 60a3459663
Add GetComponentsInChildrenOnly<T> 2022-05-08 00:06:39 +01:00