Fix typos

This commit is contained in:
2021-07-23 16:25:12 +02:00
parent 46a65f99fa
commit 91be427305
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -797,7 +797,7 @@ namespace FlaxEditor.CustomEditors
}
/// <summary>
/// Called when custom editor sets the value to the object and resets the dirty state. Can be sued to perform custom work after editing the target object.
/// Called when custom editor sets the value to the object and resets the dirty state. Can be used to perform custom work after editing the target object.
/// </summary>
protected virtual void OnUnDirty()
{
+1 -1
View File
@@ -789,7 +789,7 @@ namespace FlaxEditor
/// <param name="type">The collision data type.</param>
/// <param name="model">The source model.</param>
/// <param name="modelLodIndex">The source model LOD index.</param>
/// <param name="materialSlotsMask">The source model material slots mask. One bit per-slot. Can be sued to exclude particular material slots from collision cooking.</param>
/// <param name="materialSlotsMask">The source model material slots mask. One bit per-slot. Can be used to exclude particular material slots from collision cooking.</param>
/// <param name="convexFlags">The convex mesh generation flags.</param>
/// <param name="convexVertexLimit">The convex mesh vertex limit. Use values in range [8;255]</param>
/// <returns>True if failed, otherwise false.</returns>
+1 -1
View File
@@ -102,7 +102,7 @@ namespace FlaxEditor.GUI
public abstract Type ValueType { get; }
/// <summary>
/// The amount of frames per second of the curve animation (optional). Can be sued to restrict the keyframes time values to the given time quantization rate.
/// The amount of frames per second of the curve animation (optional). Can be used to restrict the keyframes time values to the given time quantization rate.
/// </summary>
public abstract float? FPS { get; set; }
@@ -592,7 +592,7 @@ namespace FlaxEditor.GUI
public object DefaultValue;
/// <summary>
/// The amount of frames per second of the keyframes animation (optional). Can be sued to restrict the keyframes time values to the given time quantization rate.
/// The amount of frames per second of the keyframes animation (optional). Can be used to restrict the keyframes time values to the given time quantization rate.
/// </summary>
public float? FPS
{
+3 -3
View File
@@ -584,7 +584,7 @@ namespace FlaxEditor.GUI.Timeline
}
/// <summary>
/// Gets or sets a value indicating whether user can sue Play/Pause/Stop buttons, otherwise those should be disabled.
/// Gets or sets a value indicating whether user can use Play/Pause/Stop buttons, otherwise those should be disabled.
/// </summary>
public bool CanPlayPauseStop
{
@@ -1024,12 +1024,12 @@ namespace FlaxEditor.GUI.Timeline
}
/// <summary>
/// Occurs when timeline shows the View context menu. Can be sued to add custom options.
/// Occurs when timeline shows the View context menu. Can be used to add custom options.
/// </summary>
public event Action<ContextMenu.ContextMenu> ShowViewContextMenu;
/// <summary>
/// Called when timeline shows the View context menu. Can be sued to add custom options.
/// Called when timeline shows the View context menu. Can be used to add custom options.
/// </summary>
/// <param name="menu">The menu.</param>
protected virtual void OnShowViewContextMenu(ContextMenu.ContextMenu menu)
@@ -50,7 +50,7 @@ namespace FlaxEditor.Windows.Assets
[EditorOrder(20), Limit(0, 5), EditorDisplay("General", "Model LOD Index"), Tooltip("Source model LOD index to use for collision data generation (will be clamped to the actual model LODs collection size)")]
public int ModelLodIndex;
[EditorOrder(30), EditorDisplay("General"), Tooltip("The source model material slots mask. One bit per-slot. Can be sued to exclude particular material slots from collision cooking.")]
[EditorOrder(30), EditorDisplay("General"), Tooltip("The source model material slots mask. One bit per-slot. Can be used to exclude particular material slots from collision cooking.")]
public MaterialSlotsMask MaterialSlotsMask = MaterialSlotsMask.All;
[EditorOrder(100), EditorDisplay("Convex Mesh", "Convex Flags"), Tooltip("Convex mesh generation flags")]
+1 -1
View File
@@ -67,7 +67,7 @@ namespace FlaxEngine.GUI
public float Brightness { get; set; } = 1.0f;
/// <summary>
/// Gets or sets the rendering resolution scale. Can be sued to upscale image or to downscale the rendering to save the performance.
/// Gets or sets the rendering resolution scale. Can be used to upscale image or to downscale the rendering to save the performance.
/// </summary>
public float ResolutionScale { get; set; } = 1.0f;