Skip to content

Commit 59495bb

Browse files
authored
Merge pull request #7976 from keveleigh/spell-check
Spell check pass on code comments and docs for 2.4
2 parents 56247f8 + 996fde5 commit 59495bb

File tree

33 files changed

+50
-50
lines changed

33 files changed

+50
-50
lines changed

Assets/MRTK/Core/Extensions/UnityObjectExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void DontDestroyOnLoad(this Object target)
2424
}
2525

2626
/// <summary>
27-
/// Destroys a Unity object appropriately depending if running in in edit or play mode.
27+
/// Destroys a Unity object appropriately depending if running in edit or play mode.
2828
/// </summary>
2929
/// <param name="obj">Unity object to destroy</param>
3030
/// <param name="t">Time in seconds at which to destroy the object, if applicable.</param>

Assets/MRTK/Core/Providers/Hands/ArticulatedHandDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public float EnterPinchDistance
5252
}
5353
else
5454
{
55-
Debug.LogError("EnterPinchDistance must be be between 0.015 and 0.1, please change Enter Pinch Distance in the Leap Motion Device Manager Profile");
55+
Debug.LogError("EnterPinchDistance must be between 0.015 and 0.1, please change Enter Pinch Distance in the Leap Motion Device Manager Profile");
5656
}
5757
}
5858
}
@@ -75,7 +75,7 @@ public float ExitPinchDistance
7575
}
7676
else
7777
{
78-
Debug.LogError("ExitPinchDistance must be be between 0.015 and 0.1, please change Exit Pinch Distance in the Leap Motion Device Manager Profile");
78+
Debug.LogError("ExitPinchDistance must be between 0.015 and 0.1, please change Exit Pinch Distance in the Leap Motion Device Manager Profile");
7979
}
8080
}
8181
}

Assets/MRTK/Core/Utilities/BuildAndDeploy/UwpBuildDeployPreferences.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static string BuildConfig
5656
}
5757

5858
/// <summary>
59-
/// Gets the build configuraition type as a WSABuildType enum
59+
/// Gets the build configuration type as a WSABuildType enum
6060
/// </summary>
6161
public static WSABuildType BuildConfigType
6262
{

Assets/MRTK/Core/Utilities/Editor/SpatializerUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static bool CheckSettings()
5858
return false;
5959
}
6060

61-
// A spatializer is correctly confiugured.
61+
// A spatializer is correctly configured.
6262
return true;
6363
}
6464

Assets/MRTK/Core/Utilities/Gltf/Serialization/GltfUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ private static Dictionary<string, int> StringIntDictionaryFromJson(string json)
415415
/// <summary>
416416
/// Takes a json object string with key value pairs, and returns a json string
417417
/// in the format of `{"items": [{"key": $key_name, "value": $value}]}`.
418-
/// This format can be handled by JsonUtility and support an aribtrary number
418+
/// This format can be handled by JsonUtility and support an arbitrary number
419419
/// of key/value pairs
420420
/// </summary>
421421
/// <param name="json">JSON string in the format `{"key": $value}`</param>

Assets/MRTK/Core/Utilities/Lines/DataProviders/BaseMixedRealityLineDataProvider.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ public DistortionMode DistortionMode
214214
}
215215

216216
[SerializeField]
217-
[Tooltip("Curve that defines distoration strength over distance, only used when DistortionMode = NormalizedLength")]
217+
[Tooltip("Curve that defines distortion strength over distance, only used when DistortionMode = NormalizedLength")]
218218
private AnimationCurve distortionStrength = AnimationCurve.Linear(0f, 1f, 1f, 1f);
219219

220220
/// <summary>
221-
/// Curve that defines distoration strength over distance, only used when DistortionMode = NormalizedLength
221+
/// Curve that defines distortion strength over distance, only used when DistortionMode = NormalizedLength
222222
/// </summary>
223223
public AnimationCurve DistortionStrength
224224
{
@@ -227,12 +227,12 @@ public AnimationCurve DistortionStrength
227227
}
228228

229229
[Range(0f, 1f)]
230-
[Tooltip("Float value that defines distoration strength uniformly over distance, only used when DistortionMode = Uniform")]
230+
[Tooltip("Float value that defines distortion strength uniformly over distance, only used when DistortionMode = Uniform")]
231231
[SerializeField]
232232
private float uniformDistortionStrength = 1f;
233233

234234
/// <summary>
235-
/// Float value that defines distoration strength uniformly over distance, only used when DistortionMode = Uniform
235+
/// Float value that defines distortion strength uniformly over distance, only used when DistortionMode = Uniform
236236
/// </summary>
237237
public float UniformDistortionStrength
238238
{

Assets/MRTK/Examples/Demos/UX/Collections/Scripts/GridObjectLayoutControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void PreviousLayout()
5656
/// Use this to run mock tests in grid object collection tests
5757
/// and print the resulting positions of child objects to a file.
5858
/// Used to get expected values for GridObjectCollectionTests.
59-
/// When you run the comand, look in the Debug log for where the file is output,
59+
/// When you run the command, look in the Debug log for where the file is output,
6060
/// it will be of form "printgrid-yyMMdd-HHmmss.txt"
6161
/// </summary>
6262
public void RunTest()

Assets/MRTK/Extensions/HandPhysicsService/HandPhysicsService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private static bool TryCreateJointKinematicBody(GameObject rigidBodyPrefab, int
239239

240240
if (currentGameObject.GetComponent<Collider>() == null)
241241
{
242-
Debug.LogError("The HandPhysicsService assumes the FingerTipKinematicBodyPrefab has a Collder component.");
242+
Debug.LogError("The HandPhysicsService assumes the FingerTipKinematicBodyPrefab has a Collider component.");
243243
UnityEngine.Object.Destroy(currentGameObject);
244244
return false;
245245
}

Assets/MRTK/Providers/LeapMotion/LeapMotionArticulatedHand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public LeapMotionArticulatedHand(TrackingState trackingState, Handedness control
3939

4040
internal ArticulatedHandDefinition handDefinition;
4141

42-
// Set the interations for each hand to the Default interactions of the hand definition
42+
// Set the interactions for each hand to the Default interactions of the hand definition
4343
public override MixedRealityInteractionMapping[] DefaultInteractions => handDefinition?.DefaultInteractions;
4444

4545
private static readonly ProfilerMarker UpdateStatePerfMarker = new ProfilerMarker("[MRTK] LeapMotionArticulatedHand.UpdateState");

Assets/MRTK/Providers/LeapMotion/LeapMotionDeviceManagerProfile.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public class LeapMotionDeviceManagerProfile : BaseMixedRealityProfile
2626
public LeapControllerOrientation LeapControllerOrientation => leapControllerOrientation;
2727

2828
[SerializeField]
29-
[Tooltip("Adds an offset to the game object with LeapServiceProvider attached. This offset is only applied if the leapControllerOrientation" +
29+
[Tooltip("Adds an offset to the game object with LeapServiceProvider attached. This offset is only applied if the leapControllerOrientation " +
3030
"is LeapControllerOrientation.Desk and is necessary for the hand to appear in front of the main camera. If the leap controller is on the " +
31-
"desk, the LeapServiceProvider is added to the scene instead of the LeapXRServiceProvider. The anchor point for the hands is the position of the" +
31+
"desk, the LeapServiceProvider is added to the scene instead of the LeapXRServiceProvider. The anchor point for the hands is the position of the " +
3232
"game object with the LeapServiceProvider attached.")]
3333
private Vector3 leapControllerOffset = new Vector3(0, -0.2f, 0.2f);
3434

@@ -61,12 +61,12 @@ public float EnterPinchDistance
6161

6262
[SerializeField]
6363
[Tooltip("The minimum distance between the index finger tip and the thumb tip required to exit the pinch/air tap gesture to deselect. The distance between the thumb and " +
64-
"the index tip must be greater than than the ExitPinchDistance to raise the OnInputUp event")]
64+
"the index tip must be greater than the ExitPinchDistance to raise the OnInputUp event")]
6565
private float exitPinchDistance = 0.05f;
6666

6767
/// <summary>
6868
/// The minimum distance between the index finger tip and the thumb tip required to exit the pinch/air tap gesture to deselect. The distance between the thumb and
69-
/// the index tip must be greater than than the ExitPinchDistance to raise the OnInputUp event
69+
/// the index tip must be greater than the ExitPinchDistance to raise the OnInputUp event
7070
/// </summary>
7171
public float ExitPinchDistance
7272
{

0 commit comments

Comments
 (0)