Skip to content

Commit 0cb1fd3

Browse files
authored
Merge main into feature/XRI3 (#1029)
2 parents c9270e9 + 9f3ffc4 commit 0cb1fd3

20 files changed

Lines changed: 100 additions & 23 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: e2305b64eca01f242a846e72381b866c, type: 3}
13+
m_Name: MeasureToolSettings
14+
m_EditorClassIdentifier:
15+
mode: 0
16+
unit: 0
17+
scale: 0
18+
lineColor: {r: 0, g: 0, b: 0, a: 1}
19+
handlesSize: 0.01
20+
handlesColor: {r: 1, g: 1, b: 1, a: 1}
21+
textSize: 16
22+
textColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
23+
offset: 0.03
24+
lineThickness: 4

UnityProjects/MRTKDevTemplate/Assets/Editor/MeasureToolSettings.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityProjects/MRTKDevTemplate/Assets/Scripts/BoundsControlRuntimeExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private void SetStatus(string status)
6262
/// </summary>
6363
private IEnumerator Sequence()
6464
{
65-
// Keep cycling through test until scene is exitted.
65+
// Keep cycling through test until scene is exited.
6666
while (true)
6767
{
6868
var cube = GameObject.CreatePrimitive(PrimitiveType.Cube);

UnityProjects/MRTKDevTemplate/Assets/Scripts/EyeTracking/ScrollPanZoom/PanZoomBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ public void PanVertically(float speed)
196196
}
197197

198198
/// <summary>
199-
/// Enables zoom operations using hand based interators.
199+
/// Enables zoom operations using hand based interactors.
200200
/// </summary>
201201
public void EnableHandZoom()
202202
{
203203
handZoomEnabled = true;
204204
}
205205

206206
/// <summary>
207-
/// Disables zoom operations using hand based interators.
207+
/// Disables zoom operations using hand based interactors.
208208
/// </summary>
209209
public void DisableHandZoom()
210210
{

UnityProjects/MRTKDevTemplate/Assets/Scripts/EyeTracking/ScrollPanZoom/PanZoomBaseTexture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void Initialize(float newAspectRatio)
7878
/// </summary>
7979
/// <param name="uvCursorPosition">Normalized cursor position in the hit box. Center is assumed to be at (-0.5, 0.5).</param>
8080
/// <param name="maxSpeed">The maximum speed that can be returned by this function.</param>
81-
/// <param name="minDistanceFromCenterForAutoPan">The minium distances from the center at which to start panning.</param>
81+
/// <param name="minDistanceFromCenterForAutoPan">The minimum distances from the center at which to start panning.</param>
8282
protected override float ComputePanSpeed(float uvCursorPosition, float maxSpeed, float minDistanceFromCenterForAutoPan)
8383
{
8484
// UV space from [0,1] -> Center: [-0.5, 0.5]

org.mixedrealitytoolkit.accessibility/Subsystems/MRTK/MRTKAccessibilitySubsystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public override bool TryUnregisterAccessibleObject(GameObject accessibleObject,
126126
/// <summary>
127127
/// Collects the registered <see cref="GameObject"/> instances from the requested <see cref="AccessibleObjectClassification"/> objects.
128128
/// </summary>
129-
/// <param name="classifications">The combined flags specifiying the desired classification(s) (people, places, things, etc.).</param>
129+
/// <param name="classifications">The combined flags specifying the desired classification(s) (people, places, things, etc.).</param>
130130
/// <param name="accessibleObjectsList">The collection which will receive the requested <see cref="GameObject"/> instances.</param>
131131
/// <remarks>When this method is called, the objectList will be cleared prior to adding the requested <see cref="GameObject"/> instances.</remarks>
132132
private void AssembleAccessibleObjects(

org.mixedrealitytoolkit.accessibility/Utilities/ScreenReaderSpatializationOption.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public enum ScreenReaderSpatializationOption
1111
{
1212
/// <summary>
1313
/// The screen reader will not spatialize the audio. It will be played as a
14-
/// 'flat strereo' presentation.
14+
/// 'flat stereo' presentation.
1515
/// </summary>
1616
None = 0,
1717

org.mixedrealitytoolkit.core/Subsystems/Speech/DictationSubsystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public event Action<DictationSessionEventArgs> RecognitionFaulted
121121
#endregion IDictationSubsystem implementation
122122

123123
/// <summary>
124-
/// Registers a dication subsystem implementation based on the given subsystem parameters.
124+
/// Registers a dictation subsystem implementation based on the given subsystem parameters.
125125
/// </summary>
126126
/// <param name="DictationSubsystemParams">The parameters defining the dictation subsystem functionality implemented
127127
/// by the subsystem provider.</param>

org.mixedrealitytoolkit.core/Tests/Runtime/InteractableEventRouterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public IEnumerator MultipleInteractableEventRoutersOnlyOneBubbledEventTest()
285285
levelA_router.AddEventRoute<TrickleChildHoverEvents>();
286286
levelA_router.AddEventRoute<TrickleChildSelectEvents>();
287287

288-
// Refersh level 0 router, to ensure it doesn't pickup levelB_testInteractableParent
288+
// Refresh level 0 router, to ensure it doesn't pickup levelB_testInteractableParent
289289
level0_router.Refresh();
290290

291291

@@ -330,7 +330,7 @@ public IEnumerator MultipleInteractableEventRoutersOnlyOneTrickledEventTest()
330330
levelA_router.AddEventRoute<TrickleChildHoverEvents>();
331331
levelA_router.AddEventRoute<TrickleChildSelectEvents>();
332332

333-
// Refersh level 0 router, to ensure it doesn't pickup levelB_testInteractableParent
333+
// Refresh level 0 router, to ensure it doesn't pickup levelB_testInteractableParent
334334
level0_router.Refresh();
335335

336336
Assert.AreEqual(0, level2_testInteractableChild.ParentSelectEnteredCount, "No parent select entered events should have occurred yet.");

org.mixedrealitytoolkit.data/Runtime/Scripts/DataConsumers/DataConsumerCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class DataConsumerCollection : DataConsumerGOBase, IDataConsumerCollectio
5656
[SerializeField]
5757
protected DataCollectionItemPlacerGOBase itemPlacer;
5858

59-
[Tooltip("Maximum number of items to allow in the prefeb re-use pool. This generally should be at least 2 times the number of items visible at any one time to allow for scrolling and paging.")]
59+
[Tooltip("Maximum number of items to allow in the prefab re-use pool. This generally should be at least 2 times the number of items visible at any one time to allow for scrolling and paging.")]
6060
[SerializeField]
6161
protected int itemPrefabPoolSize = 20;
6262

@@ -656,4 +656,4 @@ protected override void DetachDataConsumer()
656656
}
657657
}
658658
}
659-
#pragma warning restore CS1591
659+
#pragma warning restore CS1591

0 commit comments

Comments
 (0)